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

Authorization
string
required
Bearer sk_live_...
id
string
required
The job id returned by POST /v1/text, POST /v1/audio, or POST /v1/image.
wait
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

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

Examples

Long-poll (recommended)
Instant read

Errors