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

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

await nova.jobs.criteria.archive("job_abc123");
{
  "success": true
}
After archiving, scoring requests for this job return CRITERIA_NOT_FOUND. Existing scores and their criteria are preserved.

What Happens

  1. Criteria status changes to ARCHIVED
  2. New scoring requests fail with CRITERIA_NOT_FOUND
  3. Historical scores keep their criteria
  4. Criteria can no longer be updated

Restoring Archived Criteria

Call Generate Criteria to create a new set.

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.

Idempotency-Key
string

Optional key that makes criteria and library mutation requests safe to retry without duplicating side effects. The namespace is shared across all API keys for the same partner and environment. Reuse the same key when retrying the same request parameters.

Required string length: 1 - 255

Path Parameters

jobId
string
required

Your job identifier (external ID).

Response

Archived

success
boolean
required