API reference
The organisation's allowances and usage
GET /v1/usage
The commercial state, plan and allowances of the organisation that owns the API key’s workspace, and what that organisation counts against them, read from the control store on every request. The workspace is the key’s own; no path, header or query parameter can name another, and nothing of another organisation is returned. API-key authorization is checked again before the buffered answer is released.
allowances is null as a whole when the organisation has no entitlement (state is
none). Inside it, a number is the cap, null is no cap (users and workspaces on plans
without one, and an internal organisation without an override), and custom is a value
set by agreement and not recorded. An organisation-wide override replaces a plan’s number
as the plan evaluator does. state, plan and allowances are the organisation’s, the
same as the Owner’s billing read shows, whichever of its workspaces the key belongs to.
inUse counts sources, accounts, users and workspaces across all of the organisation’s
workspaces, by the counting rules the account cap uses: the same provider account in two
workspaces counts once, and a paused or deselected account does not count. The counts are
separate reads, not one snapshot, and have known gaps: a Google Ads manager (MCC) account
cannot be told apart from another account, and some account writes are not yet checked
against the cap, so inUse can be above an allowance. Rows are never metered, so there is
no rows figure. Request limits are not published here.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”The organisation’s state, allowances and usage.
object
The gateway’s clock when the answer was assembled.
object
object
object
The gateway-generated id of this request, the same value as the X-Request-Id response header.
invalid_query — URL query delimiters are unsupported.
object
object
object
unauthorized — missing, unknown, expired or revoked key.
object
object
object
Headers
Section titled “Headers ”forbidden — the key lacks the required scope, or the workspace has no plan that allows this.
object
object
object
method_not_allowed — Allow names the method this route accepts.
object
object
object
Headers
Section titled “Headers ”rate_limited — the key’s or its workspace’s per-plan request allowance for this route’s class is used up.
It is answered after authentication, on every API-key operation in this document and on MCP, and never on /health. A download link is
limited the same way, after its lookup, by the key that issued it and the export’s workspace.
Retry-After is the window in seconds and RateLimit-Limit is the limit of the bucket that refused. No remaining
count is returned. The limits themselves are not published here.
object
object
object
Headers
Section titled “Headers ”auth_unavailable — the authorization or control store could not be read, a stored
row failed an integrity check, or the key’s workspace belongs to no organisation.
Nothing is guessed: a count is never answered as zero. Retry with backoff.