ScopeShortfallClient
A request or response body; the type column links to the schemas it refers to.
ScopeShortfallClient
| Field | Type | Required | Description |
|---|---|---|---|
| provider_id | string (uuid) | yes | — |
| provider_name | string | yes | — |
| client_id | string | yes | The tokens' `client_id` (or `azp`); empty when they name none. |
| kind | string | yes | `browser`: people's sign-ins to this deployment (the provider's login client); `agent`: delegated tokens, an agent acting for its person; `client`: any other program holding tokens of its own. one of "browser" | "agent" | "client" |
| accounts | integer | yes | Accounts whose tokens lacked scopes. |
| account_examples | array of object | yes | The accounts with the most such requests, a few at most. |
| requests | integer | yes | Requests that lacked a scope. |
| refused | integer | yes | How many of them were refused. |
| missing_scopes | array of string | yes | Every scope such a request lacked, each once. |
| last_seen_at | string (date-time) | yes | — |
jsonExample
{
"provider_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"provider_name": "Botree Auth",
"client_id": "lrs-design-agent",
"kind": "browser",
"accounts": 0,
"account_examples": [
{
"id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
"name": "string"
}
],
"requests": 0,
"refused": 0,
"missing_scopes": [
"account:read",
"records:write"
],
"last_seen_at": "2026-01-01T00:00:00.000Z"
}