Read the project's routing card: the cached artifact from its repository, its findings, and optionally how one backlog item routes.
const url = 'https://example.com/api/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/routing';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/routing \ --cookie supacloud_session=<supacloud_session>Read the project’s routing card: the cached artifact from its repository, its findings, and optionally how one backlog item routes.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Project id
Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”The project’s cached routing artifact, with an explain for item_id when given
The routing card’s payload.
object
The conventional default, offered as the field’s placeholder.
The explain block for one backlog item (?item_id=<uuid>).
object
#1632 F1 — the share of routed dispatches the sampled router explores, in (0, 0.5];
absent means the deterministic router. It is an f64, which is why this DTO carries
PartialEq only.
#1644 S5 — the item’s current park reason (backlog_items.last_error), the
same string the board renders (e.g. tier_quota_spent:balanced:<reset>).
#1644 S5 — the reading the item’s routed effort used (decision_factors.quota
of its latest routing decision). Absent when nothing was measured.
object
measured | header | estimate | definition.
Remaining room in whole percent (0..=100).
RFC 3339 observation time.
all | model:<id> | family:<id>.
rolling_5h | weekly | monthly | daily.
Rules that matched but could not be applied.
One finding.
object
The stable finding code (model_named, unsupported_tier, …). The FE maps it to
a project_routing_finding_<code> message key.
UNTRUSTED repository text.
repo | label | profile | builtin.
One finding.
object
The stable finding code (model_named, unsupported_tier, …). The FE maps it to
a project_routing_finding_<code> message key.
UNTRUSTED repository text.
The last load or parse failure, when the current blob did not parse.
null = routing off (nothing is read from the repository).
One rule, as the card renders it.
object
The profile name the rule named, verbatim.
The tier the rule’s primary resolves to (ModelTier::as_str), or null.
The rule’s when, verbatim from the repository. UNTRUSTED text — rendered as
text, never as markup.
Example generated
{ "blob_sha": "example", "default_path": "example", "explain": { "add_tiers": [ "example" ], "constraints": [ "example" ], "exploration_epsilon": 1, "item_id": "example", "matched_when": "example", "park_reason": "example", "quota": { "class": "example", "headroom_percent": 1, "observed_at": "example", "reading_id": "example", "scope": "example", "window": "example" }, "review_human": true, "reviews": 1, "reviews_distinct_vendors": true, "skipped": [ { "code": "example", "detail": "example", "path": "example" } ], "source": "example", "tier": "example" }, "findings": [ { "code": "example", "detail": "example", "path": "example" } ], "last_error": "example", "last_error_blob_sha": "example", "loaded_at": "example", "path": "example", "rules": [ { "add_tiers": [ "example" ], "constraints": [ "example" ], "index": 1, "profile": "example", "review_human": true, "reviews": 1, "reviews_distinct_vendors": true, "tier": "example", "when": "example" } ], "version": "example"}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"}Project or backlog item 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"}