Dub

Get dubbing job status

Requires dub:render. Jobs belong to the calling organization. queued and running are nonterminal; done and error are terminal. Download outputs only after done. A failed job is returned as HTTP 200 with status error and error_code.

get/v1/dub/jobs/{job_id}

Request

  • Base URL: https://api.pyai.com
  • URL: https://api.pyai.com/v1/dub/jobs/{job_id}
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Path parameters

job_idstring required

Response

Current job state.

job_idstring required
status'queued' | 'running' | 'done' | 'error' required
editableboolean

True when completed passages can be reviewed, edited and regenerated.

parent_job_idstring nullable

Previous version for a passage revision.

source_langstring nullable
target_langstring nullable
stagestring nullable

Current processing stage, such as transcribe, refs, render or done. Do not treat stage names as a closed enum.

source_secondsnumber
dubbed_secondsnumber nullable
media_kind'audio' | 'video'
segmentsinteger nullable
audio_urlstring

Relative authenticated audio-download path; present after done.

video_urlstring

Relative authenticated video-download path; only present when a video output exists.

errorstring nullable

Failure detail when status is error.

error_codestring

Stable failure code when status is error.

Changes

No recorded changes to this operation across all 1 revision of this API.