`GET /api/runs/board` — one server-paginated, filtered + sorted page of the runs board plus the total + the workspace-wide facet chips.
const url = 'https://example.com/api/runs/board?trigger=manual';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/runs/board?trigger=manual' \ --cookie supacloud_session=<supacloud_session>GET /api/runs/board — one server-paginated, filtered + sorted page of the
runs board plus the total + the workspace-wide facet chips.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Free-text search over the run’s source-issue title + identifier, its task title, its workflow name, and (4-36 hex characters) a run-id prefix.
status filter chip.
kind filter chip.
Narrow to one project.
Narrow to one deployed App’s runs.
created_at >= since lower bound.
created_at <= until upper bound.
Include workflow node child runs (default false — top-level only).
Force parent_run_id IS NULL regardless of include_children — the V13
Agents tab keeps child agent runs of a workflow out of the top-level list.
Runs list/board trigger-source filter id.
#358 trigger-source filter id (see the RunTriggerFilter component) — mapped to
the matching trigger_kind set server-side. An unknown id means no filter.
Whitelisted sort column: created_at | started_at | finished_at |
status | kind. Default created_at.
asc | desc (default desc).
AUD-PERF-046 keyset cursor: the previous page’s next_cursor. Honoured on
the created_at sort, where it supersedes offset.
Recompute the facet chips (default true). The board sends false on a
page/sort change since the chip counts are workspace-wide.
Responses
Section titled “Responses”One page of runs.
GET /api/runs/board body — one page of runs + total + facet chips.
object
The workspace-wide facet chips for the runs board (over top-level runs).
object
Counts per kind.
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 status.
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 top-level run count in the workspace (independent of the filter).
object
#708 M2 — the autonomy policy SNAPSHOT this run was BOUND to at launch
(runs.autonomy_policy_json, ADR 0045 §11.4). The run/task-detail drift view
diffs it against the currently-resolved policy to mark axes that changed since the
run launched. None for a run with no bound snapshot (a legacy pre-Stage-4 run).
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”.
AUD-UX-039 — the backlog item this run was dispatched for (runs.backlog_item_id);
None for every run the backlog dispatcher did not start (or whose item was
deleted). The run surfaces offer Requeue instead of Replay when it is set.
Agent cost + token usage for this run’s task (task_id), folded in by the
list handler for the runs-board cost column. None for a run with no task
(workflow / script / app / node runs) or no recorded outcome.
#626 (S1 contract-request, §28 StepInspector) — this run’s input payload,
projected from trigger_context.input (the raw trigger_context stays
unexposed — only this declared-input sub-key is surfaced, mirroring
source_issue); None when the step recorded no input.
AUD-UX-039 / SCG-157 — whether the backlog dispatcher started this run
(backlog_item_id set, or trigger_kind = 'backlog' when the item was deleted).
Replay/Restart are hidden for it on every run surface. Always Some from the
server; an Option only so the generated web type stays optional like the
DTO’s other fields (a missing value reads as “not a backlog run”).
The run kind (runs.kind CHECK). Runtime stays String; the spec
narrows it to the closed [RunKindSpec].
Issue #110: when this run was parked in queued. Stays set after the
run promotes to starting so the runs view can surface the wait time.
The run’s output JSON — for a human child run this is the approval
prompt ({ title, instructions }) while waiting, and the recorded
decision once decided. The runs view renders the human approve/reject
affordance from it.
#626 (S1 contract-request, §28 StepInspector) — the per-attempt retry
history of this workflow-node step (every attempt sharing this run’s
parent_run_id + workflow_node_key + iteration_index), sorted by
attempt; None for a step that never retried (single attempt) or a
non-step run. Populated by the GET /api/runs/{id} detail handler, which
alone has the sibling attempt rows.
#626 (S1 contract-request, §28 StepInspector) — one attempt of a retried
workflow-node step, for the inspector’s retry-history tab. Derived from the
per-attempt runs rows of the same original parent + node key + iteration.
object
The attempt’s run status (runs.status CHECK), spec-narrowed.
The run status (runs.status CHECK). Runtime stays String; the spec
narrows it to the closed [RunStatusSpec].
#1131 stage-acceptance — the governing workflow’s display NAME for a
parent workflow run (workflows.name), so the list surfaces (dashboard
attention queue, runs board) can say bank_sync instead of
workflow 5f13508c — the exact symmetry of workflow_node_title for node
runs (#838 D6). Stamped by the LIST surfaces (GET /api/runs, the runs
board — the detail path stays off it: its query count is pinned by
run_detail_and_events_query_counts_stay_bounded); None for
non-workflow runs and for a deleted workflow. Display only —
workflow_id stays the identity.
Execution-original speaking title captured at Run publication, when known. Definition edits/deletion do not change this value. Detail and list lenses read the same immutable evidence. Untitled or uncaptured historical originals are None; the stable workflow_node_key remains the execution identity.
AUD-PERF-046: the cursor of the next page (created_at sort, full page).
Example
{ "items": [ { "autonomy_policy_json": { "ask_threshold": "always", "merge_ceiling": "none" }, "kind": "agent", "retries": [ { "status": "pending" } ], "status": "pending" } ]}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"}