How jobs work

Every generate route — /v1/transcribe, /v1/metadata, /v1/clips, /v1/index, and the rest — returns a Job immediately. Work runs in the background. You follow one jobId until it finishes.

Queue, then wait

A successful create returns jobId and status: queued (sometimes pending for a moment first). The same Job object is used for every serviceType — only the generate route and result fields change. See Services.

You already did this for transcription on Transcribe a video. Metadata, clips, thumbnails, and index follow the same pattern on the same canvas.

Poll that job

GET /v1/jobs/{jobId} until status is terminal:

  • completed — result is ready
  • failed — read data.error on the Job (the HTTP status is still 200)
  • cancelled — you stopped it; keep polling through cancelling until this lands

While it runs, currentStage and progress[] drive a progress bar. Cancel with POST /v1/jobs/{jobId}/cancel.

Poll retrieve, not list. GET /v1/jobs is a history table — it is not how you watch one in-flight job. Prefer job status webhooks if you do not want to poll.

When it finishes

On completed, take ids from resultSummary or GET /v1/canvases/{canvasId} (the tree includes textSourceId for transcripts). Then fetch the artifact — for transcription, GET /v1/transcriptions/{textSourceId}.

On failed, use error.code (for example duration_exceeded, transcript_too_large) and progress[]. Full table in Plans & limits. Stages and retries: Jobs.

What to call when

  • Start work — a Services generate route (POST /v1/transcribe, …)
  • Progress UI — GET /v1/jobs/{jobId} → progress[]
  • History table — GET /v1/jobs
  • Cancel — POST /v1/jobs/{jobId}/cancel