GET /workspaces/{id}/autonomy — the resolved effective autonomy + policy + ceilings for the workspace. A workspace MEMBER may read it (the slider preview plus the plan-ceiling source every scope's slider clamps to). The acting user is the entitlement-scoping identity for the plan-ceiling read.
const url = 'https://example.com/api/workspaces/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/autonomy';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/workspaces/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/autonomy \ --cookie supacloud_session=<supacloud_session>GET /workspaces/{id}/autonomy — the resolved effective autonomy + policy + ceilings for the workspace. A workspace MEMBER may read it (the slider preview plus the plan-ceiling source every scope’s slider clamps to). The acting user is the entitlement-scoping identity for the plan-ceiling read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Workspace ID whose resolved autonomy to read
Responses
Section titled “Responses”Resolved effective autonomy + policy + ceilings
The resolved workspace autonomy a member reads for the live preview: the
EFFECTIVE level (after the plan ceiling + onboarding cap), the two ceilings
that bounded it, and the slider-derived policy vector. Mirrors the FE
resolvedAutonomySchema (web/src/lib/autonomy.ts).
object
The level the engine actually acts at (after the chain + both ceilings).
The onboarding cap currently in force (ONBOARDING_AUTONOMY_CAP while
onboarding, else the engine maximum).
The plan/edition entitlement ceiling on the autonomy level.
The resolved policy vector (dispatch/ask/effort/merge) the engine threads in.
object
Which tool calls raise a human clarification ask (relaxes as autonomy rises).
ADR 0045 §3.1 concurrency column (SCG-147) as a percent factor — the SAME curve
SC-23 scales the Ops budgets by (sc_types::autonomy_budget_factor_pct: x1.0 up to
50, x1.5 at 75, x2.0 at 100). The backlog dispatcher multiplies only the DEFAULT
per-project fan-out cap by it (effective_cap_at_level). #[serde(default)] for
pre-existing snapshots.
false ⇒ the UNATTENDED dispatcher (scheduler tick, reactive enqueue) launches
nothing; a human’s manual dispatch is an ATTENDED origin and is exempt (ADR 0061
§2) — “manual trigger only”. true from Supervised (50) up (AUD-INT-015).
Signed nudge intended for the router’s effort selection (-1 economical · 0
balanced · +1 generous). An i8 (not an enum) so a consumer can add it to a
numeric effort index and clamp; it is intentionally a small bounded range.
NOTE: this axis is currently snapshot-only / informational (the sole such axis;
[AskThreshold] and [MergePolicy] are wired) — it is resolved, override-clamped and
recorded into runs.autonomy_policy_json (and exposed in the FE policy
preview), but no router pass reads it yet (routing effort is still derived
solely from item severity). It is a forward axis not yet consumed; wiring it
into classify_routing is a follow-up phase.
The upper bound the merge step is clamped to.
ADR 0045 §3.1 fill_target column (SCG-147): how full the engine drives a
subscription usage window before AUTONOMOUS dispatch holds work back —
0.50 / 0.70 / 0.85 / 0.95 at 25 / 50 / 75 / 100, linear between the stops, and
0.0 below 25 (no autonomous dispatch there: autonomy ships closed, ADR 0045 §8.1
and §11). It binds the backlog dispatcher’s quota gate for the UNATTENDED origins
only; a human-initiated launch is never held by it. #[serde(default)] so a run
snapshot written before this field deserializes; a 0.0 read there means “unset”.
Example
{ "policy": { "ask_threshold": "always", "merge_ceiling": "none" }}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"}Workspace not found
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"}