Skip to main content
GET
Count the annotated cases a revision would score

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 a metric under /v2/metrics.

Minimum string length: 1
Example:

"revision_123"

Response

The cases to score and their credits

count
integer
required

Annotated cases of the revision's metric that the revision has not scored yet, in the products where the caller may read and create evaluations and create runs.

Example:

12

credits
integer
required

The credits scoring those cases costs.

Example:

24