Check job
check_jobReturn the status of a generation job. Statuses: "queued" (waiting), "in_progress" (generating), "delayed" (still running, but taking longer than expected; keep waiting, a job that cannot finish is failed and refunded automatically), "completed" (with permanent media URLs and asset IDs) or "failed" (with the error; its credits are refunded). Typical times: images 5–30 s, videos 30 s–several minutes, music 1–3 minutes. Use the full job_id from the original result. A bare eight-character hexadecimal prefix recovers a generation job only when it matches exactly one job of this account; an ambiguous or missing ID must be corrected, not polled again. Do not construct a media URL from a job ID. For generate_image with num_images, the batch job_id returns every image (jobs lists each one). For generate_html_video, pass the cloud_project_id as job_id: it reports the newest turn, with the summary, the media it generated and turnCredits, its final cost. For swap_video_characters, pass the session_id: it reports the swap’s state, version, previews, price and, once completed, videoUrl.
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": {
"job_id": "<job_id>"
},
"name": "check_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | job_id returned by a generation tool (or its first eight characters), a cloud_project_id or a swap session_id. | |
| ui_refresh | No | Accepted for compatibility. | |
| skills_used | No | Optional workflow analytics: names of the skills (or skill/reference paths) followed for this call. Stored with generation jobs only. Never include private data, local paths or media URLs. | |
| words_offset | No | transcribe: next page of words; pass nextWordsOffset. |