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.
The request
Section titled “The request”GET /v1/usageAuthorization: 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.
The answer
Section titled “The answer”{ "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.
stateis the organisation’s commercial state:trial,paid,payment_grace,paused,post_paid_retention,internalornone. It,planandallowancesare the same whichever of the organisation’s workspaces the key belongs to.planis the plan the allowances come from. A trial runs at its trial plan. It isnullwhen there is none.allowancesisnullas a whole when the organisation has no entitlement (stateisnone). Inside it, a number is the cap,nullmeans no cap, and"custom"means a value set by agreement that has not been recorded yet.inUsecounts 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.requestIdis the same value as theX-Request-Idresponse header.
There is no rows figure: rows are never metered. The answer does not state your request limits; see Rate limits.
What the counts are not
Section titled “What the counts are not”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
inUsecan be above an allowance.
Read inUse as the product’s own count today, not as a billing statement.
Errors
Section titled “Errors”| Status | Code | When |
|---|---|---|
| 400 | invalid_query | The URL has a query string. |
| 401 | unauthorized | The key is missing, unknown, expired or revoked, or its workspace is not active. |
| 403 | forbidden | The key lacks query:read. |
| 405 | method_not_allowed | Any method other than GET. |
| 429 | rate_limited | The plan’s request allowance is used up. |
| 503 | auth_unavailable | The 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.