Skip to main content
POST
Request cancellation of a Scrub Job

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

job_id
string<uuid>
required

Opaque lowercase UUID returned at admission. Opaque lowercase UUIDv4 generated by DNC LATAM. It carries no country, tenant, provider, or execution meaning; tenant identity remains internal and is never returned.

Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

Response

The job is already terminal or cancellation completed

Public job state. Provider names, retries, chunks, cost, balance, credentials, and raw provider errors are never included.

job_id
string<uuid>
required

Opaque lowercase UUIDv4 generated by DNC LATAM. It carries no country, tenant, provider, or execution meaning; tenant identity remains internal and is never returned.

Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
status
enum<string>
required
Available options:
queued,
running,
succeeded,
failed,
cancelled,
expired
country
enum<string>
required

Technical country code. The current sellable catalog is mx/ar/co. es/au/sg are planned product coverage, end of September 2026, and are not sellable at checkout until their catalog and runtime are released together. Every real request requires a matching Country Purchase and country availability/activation. Colombia is sellable and operational, and a successful initial payment activates its complete API access immediately without manual approval; entitlement and operational availability are still evaluated at admission.

Available options:
mx,
ar,
co,
es,
au,
sg
submitted_count
integer
required
Required range: x >= 1
created_at
string<date-time>
required
updated_at
string<date-time>
required
expires_at
string<date-time>
required

State-dependent expiration: queued/running = admission plus the 24-hour active job/input hard cap; succeeded = successful terminalization plus the seven-day result TTL; failed/cancelled/expired = terminalization plus the 30-day metadata TTL. Attached input is eligible for purge at terminalization; an unconfirmed or unknown upload is revalidated at the 24-hour hard cap. This field does not signal input availability.

status_url
string<uri>
required
result_url
string<uri>

Available as a link when a result can still be retrieved.

error
object

Required when status is failed (or expired) and contains the closed public JobError mapping. Cancelled jobs never include this field: cancellation is not an error.

scrub_record
object

Phone-free Screening record once the job is terminal and within the metadata TTL. Cancelled records omit failure. Owning organization only.