Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

The control surface credential. Send Authorization: Bearer <token>.

Two kinds of token are accepted and they are told apart by shape, not by a separate header. A token beginning pbk_ is an org scoped API key, whose public half and secret half are generated together and of which only a hash of the secret is ever stored; anything else is treated as an OAuth 2.1 access token and verified against the authorization server's keys.

Both resolve to the same context: an org, a principal and a set of scopes. Nothing downstream branches on which channel you used, with one deliberate exception, key management, which requires a signed-in person so that a key can never mint another key.

Scopes are enforced when MCP tools are REGISTERED rather than when they are called, so a tool your credential cannot use is absent from tools/list rather than refused mid gesture.

Response

This period's usage.

Settled usage for one billing period, plus the live concurrency reading. Open leases are absent from the settled half: it is an account of what has finished, not a live meter.

billingPeriod
string
required

The UTC month these rows settle into, as YYYY-MM-DD.

asOf
string<date-time>
required

Database clock at read time, so you can judge freshness.

totals
object
required
devices
object[]
required
concurrency
object

The concurrency ceiling and what is against it. THE ONE LIVE READING in this body: everything else here is settled work, and this is the state of the fleet as the read happened.

limit is the ceiling the run gate actually enforces, read from the gate rather than reproduced beside it. It is org wide, and a credential narrowed to a subset of devices still sees the whole organisation's numbers, because the whole ceiling is what its next run meets.

inUse below limit IS NOT A PROMISE that a run will start. A device may already be driving one, and a lease may be held elsewhere; those are separate refusals, and starting the run is the only thing that answers them.

ABSENT on a deployment with no agent tier composed, which is a different fact from a ceiling of zero.