Skip to content

HTTP API

Storage use

GET
/v1/me/storage
curl --request GET \
--url https://sergo.example.com/v1/me/storage \
--header 'Authorization: Bearer <token>'

How much the key’s owner has uploaded, and the limits that apply. Personal keys only — an agent key gets 404.

Successful Response

Media typeapplication/json
StorageUse
object
used_bytes
required
Used Bytes

The size of the originals this person uploaded, files in Trash included

integer
limit_bytes
required
Limit Bytes

How much their uploads may add up to, or null for no limit

Any of:
integer
max_file_bytes
required
Max File Bytes

The largest file one upload may be

integer

Example generated

{
"used_bytes": 1,
"limit_bytes": 1,
"max_file_bytes": 1
}