Jobs
Retrieve a job
Returns an asynchronous job (every rewrite by default, a voice build, or a detection with async=true) and, once it has succeeded, its result: the full Rewrite, Detection or Voice object. Prefer webhooks in production; otherwise poll every few seconds. We don't keep results: the first response that includes a result (or a 2xx from your webhook, or the event stream) deletes it, and results not collected by result_expires (60 minutes after completion) are deleted. After that this endpoint answers 410 result_expired.
Billing. Free; the underlying request is billed once. Credits & pricing
Path parameters
job_idstringrequiredReturned by POST /rewrite, POST /detect with async=true, or in the X-Job-Id header of POST /voices.
Response
Job objectidstringJob id, job_…
object"job"Always "job".
typeenumWhat the job runs.
rewritedetectionvoiceenvenum (optional)test (sk_test_ key: simulated, never billed) or live.
testlivestatusenumqueued, running, succeeded (result holds the rewrite, detection or voice) or failed (error says why; nothing billed).
queuedrunningsucceededfailedcreatedintegerCreated, Unix seconds.
completedinteger | null (optional)Finished, Unix seconds; null until then.
estimated_secondsinteger (optional)Rough processing time for this length and strength, seconds, once a worker is running. A GPU cold start can add minutes.
poll_urlstringPath to GET for the job's state.
progressobject (optional)Live progress while running.
messagestring (optional)While queued or running: what the pipeline is doing, how long it typically takes, and that clients should keep polling rather than resubmit. Written for people and AI agents alike.
poll_after_secondsinteger (optional)While queued or running: a sensible wait before the next GET of poll_url.
resultobject (optional)The finished object (see Rewrite, Detection or Voice). Returned once, then deleted: the first response that includes it (or a 2xx webhook delivery) removes it; uncollected results go after 60 minutes.
result_expiresinteger | null (optional)Unix seconds when an uncollected result is deleted (completed + 60 minutes). After that, or once collected, GET answers 410 result_expired.
errorobject (optional)Why the job failed, in the error format (code, message; changed_facts on fidelity_failed).