Get a specific specification by ID. See Specifications.
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-....
Specification ID
Specification 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"]