API reference · API
What the account keeps stored
GET/v1/studio/storageAPI key
Files and bytes kept, the caps, the operator's storage price per GB a day past the free bytes, and why uploads are refused when they are. 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.
Answer 200
The storage.
| Field | Type | What it is |
|---|---|---|
| object | string | One of "studio.storage". |
| on | boolean | |
| bytes | integer | |
| files | integer | |
| max_bytes | integer | |
| max_files | integer | |
| upload_max_bytes | integer | |
| upload_types | array of string | |
| price_micros_per_gb_day | integer | 0 while unset: storage is free. |
| free_bytes | integer | |
| unpaid | string or null | Why uploads are refused now, when they are. |
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.