Skip to main content
GET
/
v1
/
jobs
/
{jobId}
/
criteria
/
generate
/
{criteriaGenerationId}
Get criteria generation
curl --request GET \
  --url https://embed.nova.dweet.com/v1/jobs/{jobId}/criteria/generate/{criteriaGenerationId} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Tenant-Id: <x-tenant-id>'
{
  "criteria": [
    {
      "id": "<string>",
      "text": "<string>",
      "importance": "MUST_HAVE",
      "order": 123
    }
  ]
}
Retrieve the result of a criteria generation. The criteriaGenerationId is returned by POST /v1/jobs/{jobId}/criteria/generate and maps to the created criteria version ID.

When to use

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

Example response

{
  "criteria": [
    {
      "id": "crit_a1b2c3d4e5f6",
      "text": "Strong proficiency in Go for backend development",
      "importance": "MUST_HAVE",
      "order": 0
    },
    {
      "id": "crit_b2c3d4e5f6a7",
      "text": "Experience with Kubernetes and container orchestration",
      "importance": "PREFERRED",
      "order": 1
    }
  ]
}
If the criteria generation does not exist, the endpoint returns a 404 error with code CRITERIA_VERSION_NOT_FOUND.

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 generation ID returned by POST /v1/jobs/{jobId}/criteria/generate. This maps to the created criteria version ID.

Response

Criteria

criteria
object[]
required