Skip to main content
DELETE
/
v1
/
jobs
/
{jobId}
/
criteria
Archive active criteria
curl --request DELETE \
  --url https://embed.nova.dweet.com/v1/jobs/{jobId}/criteria \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Tenant-Id: <x-tenant-id>'
{
  "success": true
}
After archiving, any attempt to score candidates for this job will return a CRITERIA_NOT_FOUND error. Existing scores and their criteria are preserved for audit purposes.

When to Archive

Archive criteria when:
  • Job posting is closed: No more candidates will be scored
  • Job was created in error: Clean up test or mistaken criteria
  • Moving to completely new requirements: Archive old criteria before generating new ones

What Happens

When you archive criteria:
  1. The criteria status changes to ARCHIVED
  2. New scoring requests for this job will fail with CRITERIA_NOT_FOUND
  3. All historical scores retain their criteria for audit purposes
  4. The criteria can no longer be updated

Response

{ "success": true }

Restoring Archived Criteria

To restore scoring for a job with archived criteria, call Generate Criteria again to create a new criteria 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.

Path Parameters

jobId
string
required

Your job identifier (external ID).

Response

Archived

success
boolean
required