`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/decidedParameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Exact kind (tool | question | visual | tier_change).
Responses
Section titled “Responses”One page of the read-only “Entschieden” view.
object
One DECIDED task_tool_approvals row as the read-only “Entschieden” view
surfaces it (#1304): the same enrichment as [PendingToolApproval] plus the
verdict (status / decided_by / decided_at / decision_text) and the
durable-grant representation (grant_signature + granted_scopes). The raw
payload never reaches a surface: subject / tool_name / prompt are lifted
OUT of the payload after [redact_for_chat], so a secret in a prompt is masked
exactly as on the pending path. This is what keeps an approved visual object —
its signed image links, its stable subject, and the grant it produced —
inspectable after it left the pending board.
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).
Examplegenerated
{ "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 — 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"}