Get specifications
Get list of specifications with pagination and filtering. See Specifications.
Authorizations
API key authorization. Pass your API key in the Authorization header as a Bearer token. Both new (gsk_*) and legacy (gsk-) API keys are accepted, e.g. Authorization: Bearer gsk_... or Authorization: Bearer gsk-....
Query Parameters
Filter by specification IDs
Filter by organization IDs
Filter by product IDs
Filter by specification types (CAPABILITY, INABILITY, POLICY)
Filter by test types
Filter by linked metric IDs
Filter by specification description (partial match)
Filter by creation date (from)
Filter by creation date (to)
Sort instructions (field and direction pairs)
Maximum number of results
Number of results to skip
Response
Specifications retrieved successfully
"spec_123"
"prod_123"
"user_123"
"Product must respond accurately to user queries"
CAPABILITY, INABILITY, POLICY "CAPABILITY"
Only applicable for POLICY specifications. Must be null for CAPABILITY and INABILITY.
QUALITY, RED_TEAMING, SCENARIOS "QUALITY"
Only applicable for POLICY specifications. QUALITY: rag, entity_extraction, summarization, classification, translation, correction, other. RED_TEAMING: data_leakage, financial_attacks, illegal_activities, misuse, toxicity, custom.
"rag"
true
["metric_123"]