`GET /api/tool-approvals/decided` — every DECIDED approval across the caller's active workspace (`approved` / `rejected` / `timed_out` / `superseded`), newest decision first, REDACTED. The read-only audit (#1304) that keeps an approved visual object — its signed image links, its stable subject and the durable grant it produced — inspectable after it left the pending board. Read-only: there is no decide verb here. The service authz's the caller's membership of the resolved workspace.
const url = 'https://example.com/api/tool-approvals/decided';const options = {method: 'GET'};
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/tool-approvals/decidedGET /api/tool-approvals/decided — every DECIDED approval across the caller’s
active workspace (approved / rejected / timed_out / superseded), newest
decision first, REDACTED. The read-only audit (#1304) that keeps an approved
visual object — its signed image links, its stable subject and the durable grant
it produced — inspectable after it left the pending board. Read-only: there is no
decide verb here. The service authz’s the caller’s membership of the resolved
workspace.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Exact kind (tool | question | visual | tier_change).
Responses
Section titled “Responses”OK
One page of the read-only Decided approvals view.
object
A Decided approvals row combines pending-row enrichment with the stored decision and durable-grant representation. Subject, tool name and prompt come from the redacted payload; signed image links and grant scopes remain inspectable.
object
The durable-grant key this decision maps to
(cip::tool_approval::grant_signature), or None when the gate is about one
moment (a question / tier change / a visual without a subject).
The scopes at which a WORKSPACE grant for grant_signature EXISTS, so the row
can say “remembered · workspace”. Empty when none was recorded. A personal
grant is never listed here: it is one identity’s, and a signature is a flat
global key, so showing it would attribute another identity’s grant to the
workspace (review #1304).
The verdict token: approved | rejected | timed_out | superseded.
#1199 — the stable key a visual sign-off is about (/dashboard@1440x900).
Example generated
{ "items": [ { "agent_type": "example", "created_at": "2026-04-15T12:00:00Z", "decided_at": "2026-04-15T12:00:00Z", "decided_by": "example", "decision_text": "example", "grant_signature": "example", "granted_scopes": [ "example" ], "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "image_urls": [ "example" ], "kind": "example", "project_name": "example", "prompt": "example", "status": "example", "subject": "example", "task_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "task_title": "example", "tool_name": "example", "workspace_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" } ], "total": 1}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"}