Wait for a job
job_waitLong-poll a job until it reaches a terminal state or the timeout elapses. Default 90s, which is what a cold-starting Blender container usually needs; up to 300s is accepted but read the parameter note first, because a long single call trades round trips for connection risk. Cheaper than a job_get loop; chain calls for longer jobs, or register a webhook (webhooks_set) and stop polling altogether. Validation results include a complete aggregate report summary plus exact job_report continuations; result retains the compatible inline sample. Inspect report.inlineComplete and coverageComplete; truncated details or skipped checks never establish full coverage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | Durable job ID returned when an asynchronous operation is queued. | |
| timeoutSeconds | No | Seconds to hold the connection open. 90 (default) is deliberately under the ~100s idle timeout common to HTTP proxies; values above that are allowed for direct connections but may return a transport error instead of a result. For jobs that genuinely take minutes, chain 90s calls or use webhooks_set. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | Durable job ID returned when an asynchronous operation is queued. | |
| report | Yes | ||
| result | Yes | ||
| status | Yes | ||
| terminal | Yes | ||
| waitedMs | Yes | ||
| artifacts | Yes | ||
| errorCode | Yes | ||
| progressPct | Yes | ||
| errorMessage | Yes | ||
| statusMessage | Yes | ||
| resultRevisionId | Yes | ||
| resultArtifactIds | Yes |