get_api_projects_id_automations
const url = 'https://example.com/api/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/automations';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/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/automations \ --cookie supacloud_session=<supacloud_session>List project automation configuration in the selected workspace.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Project id
Responses
Section titled “Responses”Effective automations for the project
object
ADR 0045 Stage 1b — the consolidated automation READ surface: the EFFECTIVE
automation row for every kind (the new project_automations row when present,
else the legacy-derived view), so the project-edit Automation section renders
one uniform shape. webhook_secret is #[serde(skip_serializing)] on the
model, so the response never leaks a secret.
Spec-only projection of one effective project_automations row — the fields the
ProjectAutomation model serializes (it omits webhook_secret, which is
#[serde(skip_serializing)]). ProjectAutomation is a persistence model owned by
another vertical without a ToSchema derive, so this mirrors its wire shape for
the OpenAPI spec while the field keeps serializing the full model at runtime.
object
#534 WS-2 — the backlog arm’s multi-agent work-lane candidate pool.
#538 L12 — close | comment | nothing (the legacy 3-way action; #708 C1
superseded it with the two booleans below, kept as the dual-read fallback).
pr_review | intake | backlog (the exact AUTOMATION_KINDS wire set).
#538 feinschliff — the dev-pipeline knobs blob (return_to_sender / convergence_level / max_rounds / max_cost_usd / per-stage overrides).
object
SC-1 — the arm’s CI gate (ci_gate): the required / owner / ignored context globs,
the unconfigured behaviour, the timeout and the merge-retry budget. The RAW value is
kept so the resolver can tell “absent” (inherit the built-in) from “invalid”
(refused on write, strict built-in on read); the typed contract is
backlog::ci_gate::CiGateOverride.
object
Only true is accepted; the gate cannot be switched off.
Context globs an owner turns green (e.g. gate-class*): waited for, never reworked.
Reported context globs that never block.
1..=10; default 5.
Context globs that must be green; empty = the base branch’s protection.
5..=10080; default 240.
SC-25 — the backlog arm’s path-overlap serialization and update re-verification
(concurrency). RAW, like ci_gate: absent = serialization off; the typed contract
is backlog::overlap::ConcurrencyOverride.
object
Batch 4 — the ITEM-severity threshold that gates loop ENTRY: a failed audit
only re-dispatches when the ITEM’s classified severity is AT OR ABOVE this
level (an item below it is not worth the budget and stays blocked). The loop
does NOT inspect any audit FINDING severity — see [Self::convergence_decision].
None = no severity gate (the loop runs for every item severity, bounded only
by max_rounds / max_cost_usd).
SC-26 — the arm’s GATE MANIFEST: the commands, capture step and rules the gated
templates’ implement and audit prompts are rendered from
(auto_developer_gates::GateManifest). Kept RAW so the strict read-time resolver
(auto_developer_gates::resolve_gate_manifest) can tell “absent” from “invalid”;
validated on write (validate_gate_manifest, 422 naming the key). None = no
manifest (SupaCloud’s built-in list for its own repository, else the repo-neutral
instruction).
object
The visual-capture step; None declares none.
object
SC-9 — the odiff mismatch ratio (0..=1) at or below which a CHANGED surface
passes without the judge; the arm’s visual.auto_pass_threshold when absent.
Who produces the capture.
SC-9 — where the capture writes its manifest v2 (supacloud.capture/v2, relative
to the repository root). Set, the rendered step also diffs against the baselines
(odiff, on the capture runner) and uploads the captures, the diff images and the
manifest through the artifact store (mode: baseline).
SC-9 — the odiff mismatch ratio (0..=1) at or below which a surface is
UNCHANGED; the arm’s visual.noise_floor when absent.
The engagement paths: the capture runs only for a diff touching one of them.
The single-line capture command (web only, required there).
The edge-runner labels of a unity / blender capture (required there).
The declared commands, in order.
One declared gate command.
object
The CI status context that verifies a ci_only command (a trailing * is a
prefix match); required for ci_only, refused otherwise.
The working directory, relative to the repository root (default .).
Who runs the command.
A short stable id ([a-z0-9][a-z0-9_.-]{0,63}), unique in the manifest.
The runner labels the command needs (informs SC-13 re-verify only).
The single-line shell command; required unless mode is ci_only.
The time limit in seconds (1..=21600).
Locale file pairs that must stay in parity; empty is off.
Two locale files that must stay structurally identical.
object
The reference locale file, relative to the repository root.
The locale file that must carry every key of source.
Whether the item’s own ## Commands block joins the self-check list.
The per-file line cap; None imposes none.
Extra single-line rules both agents must hold (a forbidden pattern, say).
#705 2.4d — the arm’s machine-judge pass threshold (0–100) FALLBACK for the
visual-verify gate. This is the ARM tier of the per-FIELD first-non-null
resolution: the per-profile judge_threshold wins, this arm value is the
fallback consulted only when the profile authored none. None ⇒ no arm bar
(a bare machine PASS releases unless the profile sets one).
SC-16 - resolve the visual gate’s judge through a calibrated LANE tier instead
of a pinned model. The only accepted value is vision_judge; anything else
(including a non-string) reads as absent, which is this struct’s fail-open parse
AND the safe direction here: an unparsable tier leaves the judge on the
pinned/default ladder it used before SC-16, never on a model nobody chose. The
write validator (validate_judge_tier) refuses any other value with a 422, so
the fail-open read only ever sees a value a write accepted.
Batch 4 — the operator-bounded $ ceiling across the loop. None falls back
to the arm’s daily budget / engine default.
Batch 4 — the operator-bounded ceiling on self-improvement rounds. None
falls back to the engine default. The EFFECTIVE ceiling is floored at 1 when
the loop is on (see [Self::convergence_decision]), so max_rounds = 0 still
allows the single baseline escalation rather than being strictly weaker than
leaving the loop off.
Batch 4 — when true and Review is enabled, a failing audit RE-DISPATCHES the
implement stage (the self-improvement loop) instead of routing straight to
blocked, until the audit converges or a ceiling is hit.
SC-13 — tool re-verification of labelled audit_rerun gate commands on the bound
desktop host (reverify): the unavailability policy, the queue timeout and the
per-command tool / paths / CI-coverage settings. RAW so “absent” (the strict
default) differs from “invalid” (refused on write, the strict default on read); the
typed contract is backlog::reverify::ReverifyOverride, read by
reverify::ReverifyConfig::resolve.
object
Per gate-command settings, keyed by the gate command name.
object
One gate command’s re-verify settings.
object
Skip the re-run when this CI context is green on the head (* globs).
Re-verify only when the diff touches one of these globs (empty = always).
The desktop declaration key on the host (default: the command name).
How long a job may wait for its host (10..=1440 minutes, default 240).
SC-4 — the independent review slots (reviews): up to three read-only reviewers
from vendors other than the implementer’s, run in parallel with the audit and
joined by the merge gate. RAW so “absent” (one audit, as before) differs from
“invalid” (refused on write); the typed contract is
sc_kernel::review_slots::ReviewSlotsConfig.
object
How many slots an item without a matching label rule engages (0..=slots).
Label -> slot count; the largest count among the item’s labels wins.
object
At most three slots, in slot order (review_1..3).
One review slot.
object
Optional pinned harness (set together with model).
Focus lenses: forensic, security, spec_conformance, performance, tests,
ux (empty = forensic).
Optional pinned model (set together with harness).
independent_review (default) or security_review.
SC-5 path classes that make a security_review slot required (empty = any
sensitive change).
distinct_all (default: every slot from its own vendor, none from the
implementer’s) or distinct_from_implementer.
Batch 3 — the per-stage harness / model / effort overrides. None (absent
in the partial JSONB) = no per-stage overrides.
object
One stage’s optional auto-agent overrides. An absent / empty field means “no override” — the materialized node keeps the template’s project-default harness and the profile / runner default model + effort.
object
#708 stage_affinity — the agent PROFILE (a agent_profiles.id UUID string) to
run this stage under. Pins WHO per stage (e.g. a backend-expert implement +
a reviewer review) instead of the pipeline-wide routed_profile_id. Stamped
onto the stage node’s config.agent_profile_id, which wins over the run’s
trigger-context profile fill. Membership-validated against the workspace on save.
#708 Rev 2.3/2.4a — the PLAN-stage APPROVAL flag: stop for a human approve_plan
before implement. Meaningful on stages.plan (implies enabled). Maps from the legacy
approval_mode='concept'.
#708 B1 (K1) — the COUNCIL flag: run this stage as a multi-agent COUNCIL (several
candidate agents propose, a judge synthesizes) instead of a single agent. Stamped
onto the stage node’s config (the COUNCIL_CONFIG_KEY); the run-time invocation
(B2) reads it. Meaningful on the deliberative plan/draft stage only: refused on
implement and on review (SC-4 replaced council-on-review with independent
review slots, pipeline_config.reviews). None/false = a single-agent stage
(the default).
AUD-INT-033 — the council’s pinned JUDGE (an agent profile id string); it must be
one of council_participants. None = the first participant judges. Stamped onto
the stage node’s config.council_judge; meaningful only with council: true.
AUD-INT-033 — the council’s pinned PARTICIPANTS (agent profile id strings, at most
three). They must span at least two distinct providers (validated on save against
the workspace’s profiles, and again at run time). None/empty = the vendor-diverse
default (the first enabled profile of each provider). Stamped onto the stage node’s
config.council_participants; meaningful only with council: true.
#708 Rev 2.3/2.4a — the IMPLEMENT-stage DRAFT-PR-APPROVAL flag: the PR is opened as a
draft and a human draft_review node stops after implement. Meaningful on
stages.implement. Maps from the legacy approval_mode='pr_draft' /
auto_developer_draft_first. Orthogonal to (combinable with) the plan gate — both on =
stop at the concept AND see the draft PR (the additive-gate new capability).
The reasoning effort (minimal | low | medium | high | max) for this stage.
#708 Rev 2.3/2.4a — the PLAN-stage RUN flag: run the plan/concept round at all.
Meaningful on stages.plan. approval implies enabled (a stop needs a round);
enabled without approval is “plan-then-go” (a plan round runs but never stops for a
human). The K2 legacy approval_mode='concept' maps to enabled + approval.
The harness (agent_type, e.g. claude / codex) to run this stage with.
Axis 2 (mig 272) — the harness-native MODE (build | plan) to run this stage
with. The DRAFT stage DEFAULTS to plan (overridable per arm) on harnesses that
expose a native plan-mode; implement defaults to build, review keeps the default.
DECOUPLED from execution_mode/effort — both can be set on a stage node.
The model id to run this stage with.
SC-6 — per-stage runner routing {required_labels, backend, on_no_runner, license_pool},
stamped onto the stage node’s config.runner.
The step task inherits it verbatim (materialize_step forwards runner), so the
dispatcher places the stage by its labels and applies its on_no_runner policy
(queue | fail | local). Validated on save (validate_pipeline_stage_runner).
AUD-INT-038 — the sidecar kinds (registry ids, e.g. test-db, redis) this stage’s
agent task requests. None = no choice at this stage (the review stage then takes
the implement stage’s list); Some([]) = explicitly none. Stamped onto the stage
node’s config.sidecars; the instance ceiling and the project’s sidecar override
still narrow what actually runs at launch. Validated on save (registered ids only,
no duplicates); backlog arm only.
SC-3 (the Tier-binding ADR) — the calibrator TIER (flagship | balanced | fast | independent_review) this stage runs on, resolved AT STEP LAUNCH to the first
reachable entry of the workspace’s chain for it, so a calibration apply reaches
queued work. An explicit stage model wins over it; it wins over the label route
and the stage profile’s policy. With a stage harness the chain is narrowed to
that harness. Validated on save (validate_pipeline_stage_tiers).
The plan/concept stage (the deliberative first round). #708 Rev 2.4a renamed the JSON
key draft → plan (the canonical stage vocabulary plan|implement|review); the
#[serde(alias = "draft")] keeps stored pipeline_config blobs written under the old
key deserializing losslessly (K2 dual-read — pipeline_config is only ever read, never
re-serialized back into the column, so no data migration is required for the rename).
object
#708 stage_affinity — the agent PROFILE (a agent_profiles.id UUID string) to
run this stage under. Pins WHO per stage (e.g. a backend-expert implement +
a reviewer review) instead of the pipeline-wide routed_profile_id. Stamped
onto the stage node’s config.agent_profile_id, which wins over the run’s
trigger-context profile fill. Membership-validated against the workspace on save.
#708 Rev 2.3/2.4a — the PLAN-stage APPROVAL flag: stop for a human approve_plan
before implement. Meaningful on stages.plan (implies enabled). Maps from the legacy
approval_mode='concept'.
#708 B1 (K1) — the COUNCIL flag: run this stage as a multi-agent COUNCIL (several
candidate agents propose, a judge synthesizes) instead of a single agent. Stamped
onto the stage node’s config (the COUNCIL_CONFIG_KEY); the run-time invocation
(B2) reads it. Meaningful on the deliberative plan/draft stage only: refused on
implement and on review (SC-4 replaced council-on-review with independent
review slots, pipeline_config.reviews). None/false = a single-agent stage
(the default).
AUD-INT-033 — the council’s pinned JUDGE (an agent profile id string); it must be
one of council_participants. None = the first participant judges. Stamped onto
the stage node’s config.council_judge; meaningful only with council: true.
AUD-INT-033 — the council’s pinned PARTICIPANTS (agent profile id strings, at most
three). They must span at least two distinct providers (validated on save against
the workspace’s profiles, and again at run time). None/empty = the vendor-diverse
default (the first enabled profile of each provider). Stamped onto the stage node’s
config.council_participants; meaningful only with council: true.
#708 Rev 2.3/2.4a — the IMPLEMENT-stage DRAFT-PR-APPROVAL flag: the PR is opened as a
draft and a human draft_review node stops after implement. Meaningful on
stages.implement. Maps from the legacy approval_mode='pr_draft' /
auto_developer_draft_first. Orthogonal to (combinable with) the plan gate — both on =
stop at the concept AND see the draft PR (the additive-gate new capability).
The reasoning effort (minimal | low | medium | high | max) for this stage.
#708 Rev 2.3/2.4a — the PLAN-stage RUN flag: run the plan/concept round at all.
Meaningful on stages.plan. approval implies enabled (a stop needs a round);
enabled without approval is “plan-then-go” (a plan round runs but never stops for a
human). The K2 legacy approval_mode='concept' maps to enabled + approval.
The harness (agent_type, e.g. claude / codex) to run this stage with.
Axis 2 (mig 272) — the harness-native MODE (build | plan) to run this stage
with. The DRAFT stage DEFAULTS to plan (overridable per arm) on harnesses that
expose a native plan-mode; implement defaults to build, review keeps the default.
DECOUPLED from execution_mode/effort — both can be set on a stage node.
The model id to run this stage with.
SC-6 — per-stage runner routing {required_labels, backend, on_no_runner, license_pool},
stamped onto the stage node’s config.runner.
The step task inherits it verbatim (materialize_step forwards runner), so the
dispatcher places the stage by its labels and applies its on_no_runner policy
(queue | fail | local). Validated on save (validate_pipeline_stage_runner).
AUD-INT-038 — the sidecar kinds (registry ids, e.g. test-db, redis) this stage’s
agent task requests. None = no choice at this stage (the review stage then takes
the implement stage’s list); Some([]) = explicitly none. Stamped onto the stage
node’s config.sidecars; the instance ceiling and the project’s sidecar override
still narrow what actually runs at launch. Validated on save (registered ids only,
no duplicates); backlog arm only.
SC-3 (the Tier-binding ADR) — the calibrator TIER (flagship | balanced | fast | independent_review) this stage runs on, resolved AT STEP LAUNCH to the first
reachable entry of the workspace’s chain for it, so a calibration apply reaches
queued work. An explicit stage model wins over it; it wins over the label route
and the stage profile’s policy. With a stage harness the chain is narrowed to
that harness. Validated on save (validate_pipeline_stage_tiers).
One stage’s optional auto-agent overrides. An absent / empty field means “no override” — the materialized node keeps the template’s project-default harness and the profile / runner default model + effort.
object
#708 stage_affinity — the agent PROFILE (a agent_profiles.id UUID string) to
run this stage under. Pins WHO per stage (e.g. a backend-expert implement +
a reviewer review) instead of the pipeline-wide routed_profile_id. Stamped
onto the stage node’s config.agent_profile_id, which wins over the run’s
trigger-context profile fill. Membership-validated against the workspace on save.
#708 Rev 2.3/2.4a — the PLAN-stage APPROVAL flag: stop for a human approve_plan
before implement. Meaningful on stages.plan (implies enabled). Maps from the legacy
approval_mode='concept'.
#708 B1 (K1) — the COUNCIL flag: run this stage as a multi-agent COUNCIL (several
candidate agents propose, a judge synthesizes) instead of a single agent. Stamped
onto the stage node’s config (the COUNCIL_CONFIG_KEY); the run-time invocation
(B2) reads it. Meaningful on the deliberative plan/draft stage only: refused on
implement and on review (SC-4 replaced council-on-review with independent
review slots, pipeline_config.reviews). None/false = a single-agent stage
(the default).
AUD-INT-033 — the council’s pinned JUDGE (an agent profile id string); it must be
one of council_participants. None = the first participant judges. Stamped onto
the stage node’s config.council_judge; meaningful only with council: true.
AUD-INT-033 — the council’s pinned PARTICIPANTS (agent profile id strings, at most
three). They must span at least two distinct providers (validated on save against
the workspace’s profiles, and again at run time). None/empty = the vendor-diverse
default (the first enabled profile of each provider). Stamped onto the stage node’s
config.council_participants; meaningful only with council: true.
#708 Rev 2.3/2.4a — the IMPLEMENT-stage DRAFT-PR-APPROVAL flag: the PR is opened as a
draft and a human draft_review node stops after implement. Meaningful on
stages.implement. Maps from the legacy approval_mode='pr_draft' /
auto_developer_draft_first. Orthogonal to (combinable with) the plan gate — both on =
stop at the concept AND see the draft PR (the additive-gate new capability).
The reasoning effort (minimal | low | medium | high | max) for this stage.
#708 Rev 2.3/2.4a — the PLAN-stage RUN flag: run the plan/concept round at all.
Meaningful on stages.plan. approval implies enabled (a stop needs a round);
enabled without approval is “plan-then-go” (a plan round runs but never stops for a
human). The K2 legacy approval_mode='concept' maps to enabled + approval.
The harness (agent_type, e.g. claude / codex) to run this stage with.
Axis 2 (mig 272) — the harness-native MODE (build | plan) to run this stage
with. The DRAFT stage DEFAULTS to plan (overridable per arm) on harnesses that
expose a native plan-mode; implement defaults to build, review keeps the default.
DECOUPLED from execution_mode/effort — both can be set on a stage node.
The model id to run this stage with.
SC-6 — per-stage runner routing {required_labels, backend, on_no_runner, license_pool},
stamped onto the stage node’s config.runner.
The step task inherits it verbatim (materialize_step forwards runner), so the
dispatcher places the stage by its labels and applies its on_no_runner policy
(queue | fail | local). Validated on save (validate_pipeline_stage_runner).
AUD-INT-038 — the sidecar kinds (registry ids, e.g. test-db, redis) this stage’s
agent task requests. None = no choice at this stage (the review stage then takes
the implement stage’s list); Some([]) = explicitly none. Stamped onto the stage
node’s config.sidecars; the instance ceiling and the project’s sidecar override
still narrow what actually runs at launch. Validated on save (registered ids only,
no duplicates); backlog arm only.
SC-3 (the Tier-binding ADR) — the calibrator TIER (flagship | balanced | fast | independent_review) this stage runs on, resolved AT STEP LAUNCH to the first
reachable entry of the workspace’s chain for it, so a calibration apply reaches
queued work. An explicit stage model wins over it; it wins over the label route
and the stage profile’s policy. With a stage harness the chain is narrowed to
that harness. Validated on save (validate_pipeline_stage_tiers).
#708 B5 — the arm’s vision judge model for the visual-verify gate. Since #708 X2a
this is the SOLE source (the legacy projects.backlog_vision_judge_model column
was dropped, migration 297); None ⇒ no judge-model override.
#705 2.4d — this is the ARM tier of the per-FIELD first-non-null visual resolution:
the per-profile vision_judge_model wins, this arm value is the FALLBACK.
SC-9 — the visual gate block (visual): mode (it wins over the legacy
visual_verify), producers, auto_pass_threshold, noise_floor, judge_tier
and on_capture_failure. RAW; read tolerantly by
backlog::visual_verify::VisualSettings::parse.
#708 B5 — the arm’s visual-verify mode (off | machine | ...). Since #708 X2a
(Phase 8) this is the SOLE source — the legacy projects.backlog_visual_verify
fallback column was dropped (migration 297); None/empty ⇒ off.
#708 C1 — the two ADDITIVE completion booleans (mig 295): post the closing
comment × close/transition the source issue. null on a not-yet-backfilled row
(the FE decodes completion_action as the fallback). Together they express the
previously-inexpressible “silent close” (close WITHOUT a comment).
#538 feinschliff — the Review (audit) toggle.
The backlog dispatch/classifier blob (source_filter) — an open map.
object
webhook | schedule | manual.
managed for platform templates, selected for a project workflow chosen by the user.
AUD-WIR-031 — does this project’s git provider wire the backlog pull-request
calls (ensure-PR, changed files, merge; PullRequests::supports_backlog_merge)?
false means backlog dispatch and any merge policy other than pr_only are
refused on save; the approval/merge row shows why instead of offering them.
#838 — per arm kind, the source_filter gate-FILTER keys this lane STORES but
cannot EVALUATE, so the UI can say so instead of showing a filter that silently
does nothing. Derived from the one lane registry
(auto_developer_lane_filters::ineffective_filter_keys_on) that the save-time
rejection also reads, so the display and the write path can never disagree about
which key is dead.
A lane with nothing dead is OMITTED, so a non-empty map IS the warning condition. Newly configuring such a key is refused on save; this reports the rows that acquired one before that rule existed (they heal on the next authoritative save, because the PATCH-merge preserve list is lane-scoped and no longer re-injects it).
object
#708 Rev 2.4g (B1.5 credential precondition) — is an issue-LISTING credential
configured for this project’s issue source (tracker OAuth, else a git access
token)? false means an armed Issues-intake/backlog automation would scan
nothing; the automation UI renders a “connect a credential” precondition warning
on the intake row. Fail-soft true on a transient lookup error (never a spurious
warning). Independent of whether any arm is currently enabled — the FE gates the
warning on the intake toggle.
Example
{ "automations": [ { "pipeline_config": { "ci_gate": null, "concurrency": null, "convergence_level": null, "gates": null, "judge_threshold": null, "judge_tier": null, "max_cost_usd": null, "max_rounds": null, "return_to_sender": false, "reverify": null, "reviews": null, "stages": null, "vision_judge_model": null, "vision_judge_staffing": null, "visual": null, "visual_verify": null } } ]}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"}Project 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"}