API reference · Account
Stored files
GET/api/studio/assetsSigned in session
Newest first; project_id narrows to a project, job_ids (comma separated) to the copies of those jobs. A 404 with code storage_off while stored media is switched off (ANTIMATTER_STUDIO_STORAGE). The signed in account.
Parameters
| Field | Type | What it is |
|---|---|---|
| limit (query) | integer | |
| after (query) | string | The last_id of the previous page. |
| project_id (query) | string | |
| job_ids (query) | string |
Answer 200
The files.
| Field | Type | What it is |
|---|---|---|
| object | string | One of "list". |
| data | array of object | |
| data[] | string | |
| data[] | string | One of "studio.asset". |
| data[] | string | One of "picture", "audio", "clip". |
| data[] | string | One of "upload", "job". |
| data[] | string | One of "ready", "awaiting", "failed". |
| data[] | string or null | |
| data[] | string or null | |
| data[] | string or null | The editor Asset this file stands for. |
| data[] | string or null | |
| data[] | string or null | |
| data[] | integer | |
| data[] | string or null | |
| data[] | string or null | |
| data[] | integer | |
| data[] | integer | |
| has_more | boolean | |
| last_id | string or null |
Errors
- 401OpenAI 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.