Skip to main content
GET
/
v1
/
jobs
/
{jobId}
/
criteria
/
versions
/
current
@nova-sdk/api
import { Nova } from "@nova-sdk/api";

const nova = new Nova({
  apiKey: "sk_test_...",
  tenantId: "acme-corp",
});

const version = await nova.jobs.criteria.versions.getCurrent("job_abc123");
{
  "version": {
    "id": "<string>",
    "version": 123,
    "createdAt": "2023-11-07T05:31:56Z",
    "archivedAt": "2023-11-07T05:31:56Z"
  },
  "criteriaRevision": "crit_1ab2cd",
  "criteria": [
    {
      "id": "<string>",
      "text": "<string>",
      "order": 123,
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://nova.dweet.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Use this endpoint when you need the active criteria and explicit version metadata in one response.

Example response

{
  "version": {
    "id": "cmlz26ck2000awp61q9qcjcne",
    "version": 4,
    "status": "ACTIVE",
    "createdAt": "2026-02-17T12:00:00.000Z",
    "archivedAt": null
  },
  "criteria": [
    {
      "id": "crit_a1b2c3d4e5f6",
      "text": "Strong proficiency in Go for backend development",
      "importance": "MUST_HAVE",
      "order": 0
    }
  ]
}

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).

Response

Current criteria version

version
object
required
criteriaRevision
string
required

Opaque revision token for optimistic concurrency. Pass this value as X-Expected-Criteria-Revision when replacing criteria with setCriteria.

Example:

"crit_1ab2cd"

criteria
object[]
required