Jobs

Retrieve a job

Returns an asynchronous rewrite (or long detection) and, once it has succeeded, its result. Every rewrite is a job by default. Prefer webhooks in production; poll every few seconds otherwise. We don't keep results: the first response that includes a result (or a 2xx from your webhook) deletes it, and results not collected within 60 minutes are deleted. After that this endpoint answers 410 result_expired.

GET

Billing. Free; the underlying request is billed once. Credits & pricing

Path parameters

job_idstringrequired

Returned by POST /rewrite (always) or an async detection.

Response

200 · application/json
statusenum

queued | running | succeeded | failed

resultobject

The rewrite or detection, once succeeded. Returned once, then deleted.

Errors