Skip to main content
GET
Retrieve the current status and progress of a specific async job.
string
required
The unique job identifier (e.g., run_abc123).

Response

string
required
Unique job identifier.
string
required
Current job status: queued, running, succeeded, failed, or cancelled.
object
Progress information (available when status is running).
number
Completion percentage (0-100).
string
Description of the current processing step.
string
required
ISO 8601 timestamp of job creation.
string
ISO 8601 timestamp when job started running.
string
ISO 8601 timestamp when job completed (succeeded, failed, or cancelled).
integer
Recommended seconds to wait before polling again.
string
Error message if status is failed.

Polling Best Practices

  1. Use retry_after: Always check for the retry_after field and wait that many seconds before polling again.
  2. Exponential backoff: If retry_after is not provided, use exponential backoff starting at 2 seconds.
  3. Consider SSE streaming: For real-time updates, use the Stream Run endpoint instead.

Error Responses

See Also