?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
Failure reason. Only present on
failed jobs.object
Present once the job completes.
Examples
Long-poll (recommended)
Instant read