API reference

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.

Fields of the 200 answer
FieldTypeWhat it is
objectstringOne of "studio.storage".
onboolean
bytesinteger
filesinteger
max_bytesinteger
max_filesinteger
upload_max_bytesinteger
upload_typesarray of string
price_micros_per_gb_dayinteger0 while unset: storage is free.
free_bytesinteger
unpaidstring or nullWhy 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.

Antimatter