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

The calling key.

The API key making the request, as it describes itself. Never the secret.

id
string
required

The key's own id, the apiKeyId a listing shows.

keyId
string
required

The public half of the token, the part before the secret.

name
string
required
orgId
string
required

The organisation this key acts for.

scopes
enum<string>[]
required

A granted scope.

Available options:
devices:read,
devices:act,
devices:lease,
runs:start,
orders:place,
apps:read,
apps:write,
apps:delete
deviceIds
string[] | null
required

The device subset this key may see and address, or null for the whole org.

createdAt
string<date-time>
required
expiresAt
string<date-time> | null
required