API reference · API
The document's assets mapped onto stored media
GET/v1/studio/projects/{id}/mediaAPI key
Each asset of the document matched to a stored file by doc_asset_id, by its own sa_ id, or by the job that made it, with our door to fetch the bytes. An API key with the read scope. Rate limited per key at the key's own requests a minute, in a window of its own. An agent's key is refused (403 policy_violation). Every /v1/studio door is a 404 while video and sound jobs are switched off.
Parameters
| Field | Type | What it is |
|---|---|---|
| id (path)required | string | The project's id, stp_ followed by hex. |
Answer 200
The mapping.
| Field | Type | What it is |
|---|---|---|
| object | string | One of "studio.project.media". |
| data | array of object | |
| data[] | string | The editor's Asset.id. |
| data[] | object or null | |
| data[] | string or null | Our own content door for the bytes; never a link to the store. |
Errors
- 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.