Cancel a job
Cancels a job that has not finished and releases its 1-cent reservation. Cancelling a finished job changes nothing and returns it as it is, so check status in the response: succeeded means the job finished first and was billed.
The uploaded file still counts toward your storage limit until the job expires 24 hours after creation.
/v1/jobs/{id}/cancelAuthorizationBearer token · headerrequiredA cvt_live_ API key from the dashboard, sent as Authorization: Bearer cvt_live_…. Keep it on your server.
idstringrequiredThe job id returned when you created the job, such as job_01k6z7v4q8m3x2a9b5c0d1e2f3.
The job after cancellation.
idstringrequiredJob id, prefixed job_.
statusstringrequiredcreated → queued → running → succeeded or failed. cancelled can happen at any point before the job finishes. uploaded is reserved and not used yet.
createduploadedqueuedrunningsucceededfailedcancelledinput_formatstringtarget_formatstringinput_bytesinteger | nullSize you reserved
attemptintegerHow many times a worker has picked up the job. Starts at 0.
error_codestring | nullWhy a failed job failed (conversion_failed, expired_or_exhausted or worker_shutdown), otherwise null.
expires_atstring<date-time>requiredWhen the job and its files are deleted
Request refused
errorobjectShow propertiesHide properties
codestringmessagestringunauthorized: no Authorization: Bearer header.
errorobjectShow propertiesHide properties
codestringmessagestringunauthorized (key invalid or revoked) or a billing limit.
errorobjectShow propertiesHide properties
codestringmessagestringnot_found: the job does not exist, belongs to another account, or has expired.
errorobjectShow propertiesHide properties
codestringmessagestringrate_limited: more than 120 requests in a minute for this key.
errorobjectShow propertiesHide properties
codestringmessagestringstorage_unavailable: object storage did not answer. Retry with backoff.
errorobjectShow propertiesHide properties
codestringmessagestring