read many sync jobs
jobs_get-manyRead up to 50 Sync jobs by kind and ID in one call, returning status, progress, results, and error details, with optional waiting for jobs to finish.
Instructions
Read up to 50 Sync jobs of any kind at once, such as the set jobs_create-many started, by kind and id (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
dialogue_preview: the dialogue-previews_create id, plus its projectId and videoAssetId
speech_preview: the speech-previews_create id, plus its projectId). Returns each job as jobs_get does, {kind, id, status, progress?, estimatedFinishAt?, retryAfterMs?, result}, in input order, or {kind, id, error} for one that could not be read, plus counts of running, completed, failed and unreadable jobs. status is PENDING or PROCESSING while a job runs (never create it again), then COMPLETED, FAILED, REJECTED or CANCELED. Pass wait: true to wait on the server until all are final or about 50 seconds pass, with progress notifications; call again with wait: true while some are still running.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"jobs": "<jobs>"
},
"name": "jobs_get-many"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | Yes | The jobs to read, up to 50; pass jobs_create-many's jobs list as it is. | |
| wait | No | Wait on the server until every job is final or about 50 seconds pass, then return the latest states. If some are still running, call again with wait: true instead of sleeping. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||