Skip to main content
GET
@nova-sdk/api
Retrieve the criteria from a specific generation by its version ID. The criteriaGenerationId maps to the criteria version created during generation. Get it from the criteria versions endpoints.

When to use

  • You want to fetch the criteria that were created by a specific generation
  • You need to verify the output of a generation before scoring

Example response

If the criteria generation doesn’t exist, the endpoint returns a 404 error with code CRITERIA_VERSION_NOT_FOUND.

Generate Criteria

Generate criteria for a job

Get Active Criteria

Retrieve the currently active criteria for a job

Authorizations

Authorization
string
header
required

Use Authorization: Bearer sk_test_* or Authorization: Bearer sk_live_*.

Headers

X-Tenant-Id
string
required

Your customer identifier. Tenants are auto-provisioned on first request.

Path Parameters

jobId
string
required

Your job identifier (external ID).

criteriaGenerationId
string
required

The criteria version ID created by a generation request. Retrieve it from the criteria versions endpoints.

Response

Criteria

criteria
object[]
required