API reference · API
The account's own studio jobs among these ids
GET/v1/studio/jobsAPI key
Up to 50 ids, comma separated; an id that is not the account's is left out. A job whose poll is due is moved on first. Its file is at /v1/videos/{id}/content or /v1/sounds/{id}/content, or at /v1/studio/assets/{asset_id}/content once stored. An API key with the read scope. An agent's key is refused (403 policy_violation). Rate limited per key at the key's own requests a minute, in a window of its own. While video and sound jobs are switched off this door answers the unknown endpoint 404.
Parameters
| Field | Type | What it is |
|---|---|---|
| ids (query)required | string | Job ids, comma separated, at most 50. |
Answer 200
The jobs.
| Field | Type | What it is |
|---|---|---|
| object | string | One of "list". |
| data | array of object | |
| data[] | string | |
| data[] | string | One of "video", "sound", "still". |
| data[] | string | |
| data[] | string | One of "queued", "in_progress", "completed", "failed", "cancelled". |
| data[] | integer or null | |
| data[] | integer | The hold while running, the charge once settled. |
| data[] | integer | |
| data[] | integer or null | |
| data[] | integer or null | |
| data[] | object or null | |
| data[] | string | |
| data[] | string | |
| data[] | object | Present only when the cheapest provider was unreachable or answered a server error at submit and the job went to the next provider of the same model: how many were tried, why, the first hold, and whether the job is now held dearer. No provider is named. |
| data[] | integer | |
| data[] | array of string | |
| data[] | integer | |
| data[] | boolean | |
| data[] | object or null | On GET /api/studio/jobs where stored media is on: the stored copy of the output and where it stands. |
| data[] | string | |
| data[] | string | One of "ready", "awaiting", "failed". |
| data[] | object | On GET /api/studio/jobs while the job is queued or running: queued at its provider (with how many requests are ahead of it where the provider's status says one) or being made, and the median seconds this model's takes took from submit to landing over the last 7 days, from at least 5 of them (null with fewer). Nothing is estimated without them. |
| data[] | string | One of "queued", "running". |
| data[] | integer or null | |
| data[] | integer or null |
Errors
- 400OpenAI shaped error.
- 401OpenAI shaped error.
- 403OpenAI shaped error.
- 404OpenAI shaped error.
- 429OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.