@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");curl -X GET "https://embed.nova.dweet.com/v1/jobs/job_abc123/criteria/versions/current" \
-H "Authorization: Bearer sk_test_..." \
-H "X-Tenant-Id: acme-corp"{
"version": {
"id": "<string>",
"version": 123,
"status": "ACTIVE",
"createdAt": "2023-11-07T05:31:56Z",
"archivedAt": "2023-11-07T05:31:56Z"
},
"criteriaRevision": "crit_1ab2cd",
"criteria": [
{
"id": "<string>",
"text": "<string>",
"importance": "MUST_HAVE",
"order": 123,
"createdAt": "2023-11-07T05:31:56Z"
}
]
}{
"type": "<string>",
"code": "UNAUTHORIZED",
"status": 123,
"message": "<string>",
"retryable": true,
"traceId": "<string>",
"details": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"code": "UNAUTHORIZED",
"status": 123,
"message": "<string>",
"retryable": true,
"traceId": "<string>",
"details": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"code": "UNAUTHORIZED",
"status": 123,
"message": "<string>",
"retryable": true,
"traceId": "<string>",
"details": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"code": "UNAUTHORIZED",
"status": 123,
"message": "<string>",
"retryable": true,
"traceId": "<string>",
"details": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}Criteria
Get Current Criteria Version
Retrieve the active criteria with version metadata
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");curl -X GET "https://embed.nova.dweet.com/v1/jobs/job_abc123/criteria/versions/current" \
-H "Authorization: Bearer sk_test_..." \
-H "X-Tenant-Id: acme-corp"{
"version": {
"id": "<string>",
"version": 123,
"status": "ACTIVE",
"createdAt": "2023-11-07T05:31:56Z",
"archivedAt": "2023-11-07T05:31:56Z"
},
"criteriaRevision": "crit_1ab2cd",
"criteria": [
{
"id": "<string>",
"text": "<string>",
"importance": "MUST_HAVE",
"order": 123,
"createdAt": "2023-11-07T05:31:56Z"
}
]
}{
"type": "<string>",
"code": "UNAUTHORIZED",
"status": 123,
"message": "<string>",
"retryable": true,
"traceId": "<string>",
"details": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"code": "UNAUTHORIZED",
"status": 123,
"message": "<string>",
"retryable": true,
"traceId": "<string>",
"details": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"code": "UNAUTHORIZED",
"status": 123,
"message": "<string>",
"retryable": true,
"traceId": "<string>",
"details": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"code": "UNAUTHORIZED",
"status": 123,
"message": "<string>",
"retryable": true,
"traceId": "<string>",
"details": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}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
Use Authorization: Bearer sk_test_* or Authorization: Bearer sk_live_*.
Headers
Your customer identifier. Tenants are auto-provisioned on first request.
Path Parameters
Your job identifier (external ID).
Response
Current criteria version
Was this page helpful?