`GET /api/settings/credentials/board` — one server-paginated, filtered + sorted page of the unified credentials board plus the total + the facet chips.
const url = 'https://example.com/api/settings/credentials/board';const options = {method: 'GET', headers: {cookie: 'supacloud_session=<supacloud_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/settings/credentials/board \ --cookie supacloud_session=<supacloud_session>Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Free-text search over the provider, label or connected account.
scope filter chip (personal | workspace | organization).
kind filter chip (api_key | oauth_token) — the ART facet.
Whitelisted sort column: provider | kind | account | scope |
created_at. Default created_at.
asc | desc (default desc).
Recompute the facet chips (default true).
Responses
Section titled “Responses”One page of credentials (api keys + OAuth connections).
GET /api/settings/credentials/board body — one page + total + facet chips.
object
The workspace-wide facet chips for the unified credentials board.
object
Counts per ART (api_key | oauth_token) — the chip that makes the kind a
filterable column rather than two separate cards.
One filter-chip value and its count. Counts are workspace-wide (independent of the active filter — the chip totals do not shift as the user filters).
object
How many rows fall in this bucket.
The bucket value (e.g. a scope, a role, a framework).
Counts per ADR 0038 scope tier (personal | workspace | organization).
One filter-chip value and its count. Counts are workspace-wide (independent of the active filter — the chip totals do not shift as the user filters).
object
How many rows fall in this bucket.
The bucket value (e.g. a scope, a role, a framework).
Total visible credentials of BOTH kinds (independent of the active filter).
One row of the unified credentials board. NOTE what is absent: no key_data, no
access_token — the board never carries (nor decrypts) a secret.
object
The connected account e-mail or provider handle (OAuth rows only).
Consecutive proactive-refresh failures (OAuth rows only; 0 for api keys) —
the keepalive warning the retired OAuth card carried, preserved on the row so
the merge into one table loses no information.
Token expiry (OAuth rows only); an api-key reference does not expire.
The ART, from the typed CredentialKind discriminant of the source table:
api_key (an api_key_refs row) or oauth_token (an agent_oauth_tokens
row). NEVER derived from the label — an api-key row labelled “OpenRouter
(OAuth)” is still an api_key, and a token is still an oauth_token however
it is labelled.
The user-given label (api-key rows only).
The subscription plan badge, when the provider exposed one (OAuth rows only).
The resolved ADR 0038 tier: personal | workspace | organization.
Examplegenerated
{ "facets": { "by_kind": [ { "count": 1, "value": "example" } ], "by_scope": [ { "count": 1, "value": "example" } ], "total": 1 }, "items": [ { "account_email": "example", "consecutive_refresh_failures": 1, "created_at": "2026-04-15T12:00:00Z", "expires_at": "2026-04-15T12:00:00Z", "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "kind": "example", "label": "example", "locked": true, "organization_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "plan_label": "example", "provider": "example", "scope": "example", "workspace_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" } ], "total": 1}Structured client error
The canonical JSON body of every error response — the single source of truth
the frontend binds to. Every AppError serializes as this exact shape, and
the generated OpenAPI component ApiErrorBody (with its ErrorCode enum) is
what the frontend error schema is generated from, so there is no hand-written
error schema on either end.
object
Machine-readable, stable error code.
Present only on a quota-exceeded 403 — the inline upgrade-CTA payload.
object
The entitlement feature key that was hit, e.g. apps.max_count.
The plan’s limit for this key.
Where to send the user to upgrade.
Current usage (count or bytes, per the key).
Human-readable message (the server’s English text; the client may localize
by code).
Example
{ "code": "not_found"}Authentication required
The canonical JSON body of every error response — the single source of truth
the frontend binds to. Every AppError serializes as this exact shape, and
the generated OpenAPI component ApiErrorBody (with its ErrorCode enum) is
what the frontend error schema is generated from, so there is no hand-written
error schema on either end.
object
Machine-readable, stable error code.
Present only on a quota-exceeded 403 — the inline upgrade-CTA payload.
object
The entitlement feature key that was hit, e.g. apps.max_count.
The plan’s limit for this key.
Where to send the user to upgrade.
Current usage (count or bytes, per the key).
Human-readable message (the server’s English text; the client may localize
by code).
Example
{ "code": "not_found"}Permission denied
The canonical JSON body of every error response — the single source of truth
the frontend binds to. Every AppError serializes as this exact shape, and
the generated OpenAPI component ApiErrorBody (with its ErrorCode enum) is
what the frontend error schema is generated from, so there is no hand-written
error schema on either end.
object
Machine-readable, stable error code.
Present only on a quota-exceeded 403 — the inline upgrade-CTA payload.
object
The entitlement feature key that was hit, e.g. apps.max_count.
The plan’s limit for this key.
Where to send the user to upgrade.
Current usage (count or bytes, per the key).
Human-readable message (the server’s English text; the client may localize
by code).
Example
{ "code": "not_found"}Structured server error
The canonical JSON body of every error response — the single source of truth
the frontend binds to. Every AppError serializes as this exact shape, and
the generated OpenAPI component ApiErrorBody (with its ErrorCode enum) is
what the frontend error schema is generated from, so there is no hand-written
error schema on either end.
object
Machine-readable, stable error code.
Present only on a quota-exceeded 403 — the inline upgrade-CTA payload.
object
The entitlement feature key that was hit, e.g. apps.max_count.
The plan’s limit for this key.
Where to send the user to upgrade.
Current usage (count or bytes, per the key).
Human-readable message (the server’s English text; the client may localize
by code).
Example
{ "code": "not_found"}