API reference · API
List this account's video jobs
GET/v1/videosAPI key
Newest first unless order=asc, a page of limit (1 to 100, 20 unless set).
Parameters
| Field | Type | What it is |
|---|---|---|
| after (query) | string | A job id to page after. |
| limit (query) | integer | 1 to 100. From 1 to 100. |
| order (query) | string | asc or desc. One of "asc", "desc". |
Answer 200
A list.
| Field | Type | What it is |
|---|---|---|
| object | string | One of "list". |
| data | array of object | |
| data[] | string | video_, sound_, mesh_ or still_ then 24 hex digits. |
| data[] | string | One of "video", "sound", "mesh", "still". |
| data[] | string | |
| data[] | string | One of "queued", "in_progress", "completed", "failed", "cancelled". |
| data[] | integer | 0 until completed, then 100. |
| data[] | integer | |
| data[] | integer or null | |
| data[] | integer or null | When the file stops being fetchable: 60 minutes after completion. |
| data[] | string or null | |
| data[] | string | |
| data[] | string | |
| data[] | string | |
| data[] | string | |
| data[] | boolean | |
| data[] | integer | How many reference pictures it was sent; the pictures are not kept. |
| data[] | string or null | |
| data[] | integer | The worst case held while it runs. |
| data[] | integer or null | What it was billed, never past the hold. |
| data[] | boolean | |
| data[] | object or null | generation_failed, deadline_exceeded, provider_unanswered (billed its hold), submit_lost or model_unavailable. |
| data[] | string | |
| data[] | string | |
| first_id | string or null | |
| last_id | string or null | |
| has_more | boolean |
Errors
- 400OpenAI 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.