API reference · Account
A stored file's bytes
GET/api/studio/assets/{id}/contentSigned in session
Served by this door only, private, never kept by a shared cache, with nosniff; a Range header is answered 206 and one past the end 416. 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 |
|---|---|---|
| id (path)required | string | The stored file's id, sa_ followed by hex. |
Answer 200
The file.
Answer 206
Part of the file.
Errors
- 401OpenAI shaped error.
- 404OpenAI shaped error.
- 409OpenAI shaped error.
- 416OpenAI 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.
Request headers it reads (1)
| Field | Type | What it is |
|---|---|---|
| Range | string |