get_api_settings_chat_accounts
const url = 'https://example.com/api/settings/chat-accounts';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/settings/chat-accountsList the authenticated user’s linked chat accounts.
Responses
Section titled “Responses”OK
One linked chat account in the settings view: platform, the external id (for display) and whether the post-completion task TL;DR digest is sent to it.
object
#716 §27 — the Telegram supergroup id (or @username) where per-task forum topics
are created. None ⇒ unset (Telegram-only).
ADR 0049 F2 — per-task forum topics enabled for this account (Telegram-only;
always false on other platforms).
#1451 — whether live-mode tool lines on this account carry a short UTC stamp
(14:03Z → Bash ls). Default false (opt-in): the stamp costs width against
the live message budget, so only a reader who wants the timing pays for it.
SC-17 (SCG-074) — whether approval cards deliver their media natively to this
account (a Telegram media group, native video / audio). Default true; false
sends the labelled card only, its images as link lines.
#1052 — whether a workflow run that SUCCEEDS notifies this account.
Default false (opt-in): the failure alert is workspace-configured and
always on, but a nightly flow that succeeds every night would train the
operator to ignore the channel.
Example generated
[ { "external_id": "example", "forum_chat_id": "example", "forum_topics_enabled": true, "live_timestamps": true, "media_previews": true, "notify_task_tldr": true, "notify_workflow_success": true, "platform": "example" }]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"}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"}