API reference · Account
The account's own jobs among these ids
GET/api/studio/jobsSigned in session
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. While video and sound jobs are switched off this door answers the unknown endpoint 404 (code unknown_endpoint).
Parameters
| Field | Type | What it is |
|---|---|---|
| ids (query)required | string | Job ids, comma separated, at most 50. |
Answer 200
The jobs, in the order asked.
| Field | Type | What it is |
|---|---|---|
| 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.
- 404OpenAI 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.