get_job_status
Poll the status of a transcode or convert job every 5 seconds until completion or failure. Continue polling indefinitely until a terminal status is reached.
Instructions
Poll the status of a transcode or convert job. Call every 5 seconds until status is 'complete' or 'failed'. Status 'queued' or 'processing' is normal — large files take 5–15 minutes. Keep polling indefinitely until a terminal status is reached. Do not stop polling after a fixed number of attempts.
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": "get_job_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job ID returned by transcode_video, transcode_from_url, convert_file, convert_from_url, or convert_content. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job identifier. | |
| status | Yes | Current job state. | |
| progress_pct | No | Encoding progress 0–100. Only present while status is 'processing'. | |
| output_key | No | storage object key of the completed output. Present when status is 'complete'. Pass to get_download_url. | |
| cost_usd | No | Amount debited from the wallet on completion, in USD. | |
| error_message | No | Human-readable error description. Present when status is 'failed'. |