Async Jobs
Get Run Status API
Get the current status of an async job
GET
Retrieve the current status and progress of a specific async job.
The unique job identifier (e.g.,
run_abc123).Response
Unique job identifier.
Current job status:
queued, running, succeeded, failed, or cancelled.Progress information (available when status is
running).Completion percentage (0-100).
Description of the current processing step.
ISO 8601 timestamp of job creation.
ISO 8601 timestamp when job started running.
ISO 8601 timestamp when job completed (succeeded, failed, or cancelled).
Recommended seconds to wait before polling again.
Error message if status is
failed.Polling Best Practices
- Use
retry_after: Always check for theretry_afterfield and wait that many seconds before polling again. - Exponential backoff: If
retry_afteris not provided, use exponential backoff starting at 2 seconds. - Consider SSE streaming: For real-time updates, use the Stream Run endpoint instead.
Error Responses
| Status | Description |
|---|---|
404 | Job not found |
500 | Internal server error |

