Skip to main content
Fetch a job’s status and result. Supports long-polling via ?wait, the endpoint to call after creating a job.

Request

string
required
Bearer sk_live_...
string
required
The job id returned by POST /v1/text, POST /v1/audio, or POST /v1/image.
number
Seconds to long-poll, 0–30. The server holds the response until the job reaches completed or failed, or the timeout passes, then returns the current job either way. A typical flow is 1–2 calls instead of a polling loop, and since rate limits count per request, wait also saves quota.

Response

string
Job id.
string
created, pending, processing, completed, or failed. See Jobs.
string
Failure reason. Only present on failed jobs.
object
Present once the job completes.
Results remain available for 7 days after completion.

Examples

Long-poll (recommended)
Instant read

Errors