Get Home quota
GET
/api/v1/files/quota
const url = 'https://example.com/api/v1/files/quota';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/files/quota \ --header 'Authorization: Bearer <token>'Requires a signed-in User with the data scope. The response reports Home usage and active upload reservations. Route: /api/v1/files/quota. Inputs: . Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Media typeapplication/json
object
limit
integer | null format: int64
reserved_bytes
required
integer format: int64
staging_bytes
required
integer format: int64
used
required
integer format: int64
Examplegenerated
{ "limit": 1, "reserved_bytes": 1, "staging_bytes": 1, "used": 1}