read any sync job
jobs_getRead any sync job once by kind and ID to check status consistently across all job types without waiting or polling.
Instructions
Read any sync. job once, by kind and id, with one status vocabulary for all six kinds. Use it to check a job without waiting or to track jobs of different kinds the same way. Not for waiting: use jobs_wait instead of calling this in a loop. For a kind's extra read options, such as generations_get include or batches_get results, call that tool directly. Ids by kind:
generation: the id from lipsync_create, dubbing_create, lipsync_create-timeline or dialogue-videos_create
transcription: the id from transcriptions_create or dialogue-transcriptions_create
speaker_analysis: the transcription id
translation_preview: the translation-previews_create id, plus its projectId
import: the social video link passed to assets_create, plus the same projectId (and projectIntent if that call needed it)
batch: the batches_create id PENDING and PROCESSING mean still running: never create the job again. COMPLETED, FAILED, REJECTED (the API refused it, such as an import limit or a moderation rejection) and CANCELED are final. result is the job as the kind's own read tool returns it, with its original status; a COMPLETED import's result is the saved asset, whose id is the asset id, and a finished batch's result.results lists each item's generation status and output. A translation_preview with result.recoveryRequired true has uncertain provider acceptance: do not create another job. Reading an import resends the identical assets_create request, which returns the running import or its saved asset and starts the import if none exists; that is why this is not read-only. An unknown id, an auth failure or a translation_preview without projectId returns a tool error, not a status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The job id for the chosen kind, as listed in the tool description; for import it is the social video link itself. | |
| kind | Yes | Which kind of job id is. | |
| projectId | No | Required for translation_preview; for import, the project passed to assets_create. | |
| projectIntent | No | import only: pass it when the assets_create call for this link needed it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||