Skip to content

Reference

Usage

GET /v1/usage — the organisation's plan state, allowances and what it counts against them, for the API key's own workspace.

Availability. GET /v1/usage is implemented and tested in the gateway. It is not deployed or verified on a live environment yet.

GET /v1/usage
Authorization: Bearer <key>

The key needs the query:read scope. The route takes no body and no query parameters; a query string is refused with 400 invalid_query. The organisation is the one that owns the key’s own workspace. No path, header, cookie or parameter can name another workspace or organisation, and nothing about another organisation is returned.

{
"serverTime": "2026-10-19T09:00:00.000Z",
"organization": {
"id": "org_…",
"plan": "growth",
"state": "trial",
"allowances": { "sources": 5, "accounts": 10, "users": 3, "workspaces": 1 },
"inUse": { "sources": 1, "accounts": 2, "users": 1, "workspaces": 1 }
},
"workspace": { "id": "ws_…", "status": "active" },
"requestId": "…"
}

The numbers above are illustrative, not a plan’s real allowances; the allowances your answer carries come from the product contract and any agreement recorded for your organisation.

  • state is the organisation’s commercial state: trial, paid, payment_grace, paused, post_paid_retention, internal or none. It, plan and allowances are the same whichever of the organisation’s workspaces the key belongs to.
  • plan is the plan the allowances come from. A trial runs at its trial plan. It is null when there is none.
  • allowances is null as a whole when the organisation has no entitlement (state is none). Inside it, a number is the cap, null means no cap, and "custom" means a value set by agreement that has not been recorded yet.
  • inUse counts across all of the organisation’s workspaces. The same provider account selected in two workspaces counts once. A paused or deselected account does not count.
  • requestId is the same value as the X-Request-Id response header.

There is no rows figure: rows are never metered. The answer does not state your request limits; see Rate limits.

The counts are read when you ask, in separate reads rather than one snapshot, so a change made at the same moment can show in one count and not another. They follow the counting rules the plan caps use, with two known gaps:

  • A Google Ads manager (MCC) account cannot yet be told apart from an ordinary account.
  • Some account writes are not yet checked against the cap, so inUse can be above an allowance.

Read inUse as the product’s own count today, not as a billing statement.

StatusCodeWhen
400invalid_queryThe URL has a query string.
401unauthorizedThe key is missing, unknown, expired or revoked, or its workspace is not active.
403forbiddenThe key lacks query:read.
405method_not_allowedAny method other than GET.
429rate_limitedThe plan’s request allowance is used up.
503auth_unavailableThe authorization or control store could not be read, a stored row failed a check, or the workspace belongs to no organisation. Nothing is guessed: a count is never answered as zero. Retry with backoff.

The key is checked again after the counts are read and before the answer is released, so a key revoked or expired while the request is in flight receives 401 and no usage.