List metrics annotated with compatibility for a version
Returns evaluable metrics annotated with whether they can be satisfied by the version’s product metadata and conversation endpoint connection output mapping, plus a relevance ranking against the tests the evaluation will run against. Trace-dependent and runtime-only params are out of scope and treated as always satisfied. When testIds are supplied, each metric is ranked linked (linked to a specification of one of those tests), matching (linked to a same-product specification whose testType matches one of those tests), or none. Without testIds every metric is none.
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-....
Path Parameters
Version ID to evaluate compatibility against
Query Parameters
Maximum number of metrics to return (default 100)
Tests the evaluation will run against; drives the relevance ranking. All tests must belong to the version's product.
Response
List of metrics with compatibility and relevance annotations
"metric_123"
"Accuracy"
Whether the metric can be satisfied by the resolved product metadata and conversation endpoint connection output mapping.
How relevant the metric is to the tests the evaluation runs against. linked: linked to a specification of one of those tests. matching: linked to a same-product specification whose testType matches one of those tests. none: neither, or no test context was provided.
linked, matching, none "linked"
Evaluation method for the metric. FULL_PROMPT is deprecated for creation — POST /metrics rejects it with a 400. Use PARTIAL_PROMPT for new AI Evaluation metrics. The value remains in the enum because existing FULL_PROMPT metrics are still returned by reads and filters.
SELF_HOSTED, FULL_PROMPT, PARTIAL_PROMPT, HUMAN_EVALUATION, GEVAL, DEEPEVAL, DETERMINISTIC "PARTIAL_PROMPT"
"Measures the accuracy of responses"
Human-readable explanation of why the metric is incompatible. Non-null iff isCompatible === false.
"Missing required parameters: product_capabilities, retrieval_context"