`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>GET /api/settings/credentials/board — one server-paginated, filtered + sorted
page of the unified credentials board plus the total + the facet chips.
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).
#1644 D6 - inference (the default) or usage_reading. An OAuth row is always
inference; an API key may be the optional read-only report key, which is absent
from every inference picker and shown here so the owner can tell the two apart.
A refresh whose outcome is unknown: the keepalive will not retry it, so the
owner must reconnect (OAuth rows only; false for api keys). A counted
failure without it is a refusal the keepalive retries with backoff.
The resolved ADR 0038 tier: personal | workspace | organization.
Mig 846 — the subscription PLAN an API-key row carries (go | go_plus |
go_teams for opencode-go). None for an OAuth row (its badge is
plan_label) and for a key whose plan nobody stated.
#1644 S6 — the “Zugaenge” usage cell: this credential’s most binding OPEN usage
window (worst fill first, a limit hit above any fill). None when nothing has
read this credential yet, so the cell says “not read” instead of drawing 0 %.
Secret-free: a window type, a scope, a class, a reader and an age.
object
Example generated
{ "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", "purpose": "example", "refresh_unresolved": true, "scope": "example", "subscription_usage_ref": "example", "usage": { "age_seconds": 1, "class": "example", "credential_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "credential_kind": "example", "fill_pct": 1, "freshness": "example", "limit_hit": true, "provider": "example", "reader": "example", "scope": "example", "window_type": "example" }, "workspace_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" } ], "total": 1}Structured client error
The canonical JSON body of every error response. Every AppError serializes as
this exact shape; code is the generated stable machine-readable vocabulary.
object
Present only on an MCP budget refusal (429) — the refusing layer + retry hint.
object
The refusing layer.
The layer’s budget.
Seconds until a retry can pass, or null when it never will for this session.
Calls already counted in the layer.
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).
Present on a launch refusal (400/403/409) — the structured facts only the refusing class can fill: occupancy, exhausted budget, or required labels.
object
Weighted workspace slots already held by starting/running agent runs.
The budget cap that refused.
Effective spend of the refusing budget scope (spend + in-flight reservations).
The workspace’s configured agent-concurrency cap.
The provider whose budget cap refused; absent for the workspace-wide cap.
Runner labels a fail-policy placement required and no runner offered.
Example
{ "code": "not_found"}Authentication required
The canonical JSON body of every error response. Every AppError serializes as
this exact shape; code is the generated stable machine-readable vocabulary.
object
Present only on an MCP budget refusal (429) — the refusing layer + retry hint.
object
The refusing layer.
The layer’s budget.
Seconds until a retry can pass, or null when it never will for this session.
Calls already counted in the layer.
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).
Present on a launch refusal (400/403/409) — the structured facts only the refusing class can fill: occupancy, exhausted budget, or required labels.
object
Weighted workspace slots already held by starting/running agent runs.
The budget cap that refused.
Effective spend of the refusing budget scope (spend + in-flight reservations).
The workspace’s configured agent-concurrency cap.
The provider whose budget cap refused; absent for the workspace-wide cap.
Runner labels a fail-policy placement required and no runner offered.
Example
{ "code": "not_found"}Permission denied
The canonical JSON body of every error response. Every AppError serializes as
this exact shape; code is the generated stable machine-readable vocabulary.
object
Present only on an MCP budget refusal (429) — the refusing layer + retry hint.
object
The refusing layer.
The layer’s budget.
Seconds until a retry can pass, or null when it never will for this session.
Calls already counted in the layer.
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).
Present on a launch refusal (400/403/409) — the structured facts only the refusing class can fill: occupancy, exhausted budget, or required labels.
object
Weighted workspace slots already held by starting/running agent runs.
The budget cap that refused.
Effective spend of the refusing budget scope (spend + in-flight reservations).
The workspace’s configured agent-concurrency cap.
The provider whose budget cap refused; absent for the workspace-wide cap.
Runner labels a fail-policy placement required and no runner offered.
Example
{ "code": "not_found"}Structured server error
The canonical JSON body of every error response. Every AppError serializes as
this exact shape; code is the generated stable machine-readable vocabulary.
object
Present only on an MCP budget refusal (429) — the refusing layer + retry hint.
object
The refusing layer.
The layer’s budget.
Seconds until a retry can pass, or null when it never will for this session.
Calls already counted in the layer.
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).
Present on a launch refusal (400/403/409) — the structured facts only the refusing class can fill: occupancy, exhausted budget, or required labels.
object
Weighted workspace slots already held by starting/running agent runs.
The budget cap that refused.
Effective spend of the refusing budget scope (spend + in-flight reservations).
The workspace’s configured agent-concurrency cap.
The provider whose budget cap refused; absent for the workspace-wide cap.
Runner labels a fail-policy placement required and no runner offered.
Example
{ "code": "not_found"}