Skip to content

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.

The organisation’s state, allowances and usage.

object
serverTime
required

The gateway’s clock when the answer was assembled.

string format: date-time
organization
required
object
id
required
string
>= 1 characters
plan
required
One of:
string
Allowed values: starter growth plus professional enterprise
state
required
string
Allowed values: trial paid payment_grace paused post_paid_retention internal none
allowances
required
One of:
object
sources
required
Any of:
integer
accounts
required
Any of:
integer
users
required
Any of:
integer
workspaces
required
Any of:
integer
inUse
required
object
sources
required
integer
accounts
required
integer
users
required
integer
workspaces
required
integer
workspace
required
object
id
required
string
>= 1 characters
status
required
Allowed value: active
requestId
required

The gateway-generated id of this request, the same value as the X-Request-Id response header.

string
/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/

invalid_query — URL query delimiters are unsupported.

object
error
required
object
code
required
string
message
required
string
error
object
code
Allowed value: invalid_query

unauthorized — missing, unknown, expired or revoked key.

object
error
required
object
code
required
string
message
required
string
error
object
code
Allowed value: unauthorized
WWW-Authenticate
required
string
Allowed value: Bearer

forbidden — the key lacks the required scope, or the workspace has no plan that allows this.

object
error
required
object
code
required
string
message
required
string
error
object
code
Allowed value: forbidden

method_not_allowed — Allow names the method this route accepts.

object
error
required
object
code
required
string
message
required
string
error
object
code
Allowed value: method_not_allowed
Allow
required
string
Allowed value: GET

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
error
required
object
code
required
string
message
required
string
error
object
code
Allowed value: rate_limited
Retry-After
required
string
/^[1-9][0-9]*$/
RateLimit-Limit
required
string
/^[1-9][0-9]*$/

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.

object
error
required
object
code
required
string
message
required
string
error
object
code
Allowed value: auth_unavailable