Generate inference results from test cases
Triggers async inference generation for specified test cases using the version’s endpoint connection. Provide either versionId or productId. When productId is given without a versionId, the product’s latest properly configured version (one with a conversation-endpoint, phone, or WebRTC connection) is cloned and inferences run against the clone; the product must already have such a version. Omitting versionId clones a version, so it requires permission to create versions (a caller lacking it gets a 403). See Inference Results.
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-....
Body
Array of test IDs to generate inferences for (will process all test cases in these tests)
Array of test case IDs to generate inferences for
Version ID containing the endpoint connection configuration. Provide this or productId.
"ver_123"
Product ID to run against when no versionId is given. The product's latest properly configured version is cloned and inferences run against the clone.
"prod_123"
Optional array of metric IDs to evaluate after inference generation. If provided, evaluations will be triggered automatically.