Async jobs
Submit work, poll its state, and retrieve completed results.
Recorded transcription, long text operations, and standard SDK text-to-speech generation use asynchronous jobs.
Job lifecycle
- Submit work and store the returned task or job ID.
- Poll after a short delay.
- Continue while the status is
pendingorprocessing. - Stop on
completedorfailed. - Read the result or the terminal
error.
Do not poll in a tight loop. A network timeout while polling does not cancel the backend job.
Recorded transcription
Poll GET /api/v1/api/status/{task_id}. Completed results contain result_text and optional srt_content.
Text jobs
Supported text job tasks are translate, summarize, and redact. Translation also requires target_language; summarization accepts style.
Use client.get_text_job(job_id) for one status check or client.list_text_jobs(...) for history.
Speech jobs
Timeouts
An SDK wait timeout stops only the client-side wait. Keep the ID and query the job later. Choose application timeouts based on the input size and your workflow.