API reference

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.

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.
  • 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.

Antimatter