Skip to main content
POST
Evaluate a revision on the annotated cases of its metric
You are reading the docs of Galtea 5.22. Read this page in the latest version.

Authorizations

Authorization
string
header
required

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

id
string
required

Revision ID. A metric ID answers 404; read its active revision under /v2/metrics.

Minimum string length: 1
Example:

"revision_123"

Response

The evaluations were admitted

revisionId
string
required

The revision the run scores with.

Example:

"revision_123"

scheduled
integer
required

Evaluations admitted.

Example:

11

skipped
integer
required

Cases that were not scored; errors says why.

Example:

1

errors
string[]
required
runIds
string[]
required

The runs this call opened, one per product.