API reference · Account
What the account keeps stored
GET/api/studio/storageSigned in session
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. The signed in account.
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.
- 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.