Tearleads

GET/root/reports/data-usage

Page data usage by organization

Operation root.reports.dataUsage.list

Description

Pages stored data usage by organization, newest organizations first, with the same exact-id filter as the organization list. Only root operators may call it, and each request is recorded in the root audit trail.

Authentication

Requires a signed-in session: the client sends its session token as a bearer token in the Authorization header.

Parameters

NameInTypeDetails
cursorquerystringoptional
  • not empty
limitqueryintegeroptional
  • 1 to 200
searchquerystringoptional
  • at most 200 characters

Responses

200 OK

application/jsonRootDataUsageReportResponse

A page of stored data usage by organization.

2 fields

Other fields are allowed.

Other responses

StatusMeaningBody
400Bad Request

application/jsonErrorResponse

401Unauthorized

application/jsonSessionFailureResponse

403Forbidden

application/jsonErrorResponse

500Internal Server Error

application/jsonErrorResponse

503Service Unavailable

application/jsonErrorResponse

Additional rules

The server also enforces these rules, which the schema above cannot express.

  • totalByteLength equals the sum of document and blob byte lengths.

  • The document usage breakdown contains each document category exactly once.

  • Document usage totals equal the sums of the category breakdown.