Suspending an agent sets its status to suspended and revokes every open task it runs, together with every open task inside those tasks. Its tokens stop working on the next call. A suspended agent gets no new tasks until a person resumes it.
Scute also suspends an agent on its own when it goes over its budget or calls a decoy tool.
Suspend one agent#
POST
/v1/apps/:app_id/authz/agents/:slug/suspendApp keyreasonstring
Why. Up to 500 characters. Shown as the agent's suspended_reason.
curl -X POST https://api.scute.io/v1/apps/$SCUTE_APP_ID/authz/agents/billing-assistant/suspend \ -H "Authorization: Bearer $SCUTE_APP_SECRET" \ -H "Content-Type: application/json" \ -d '{ "reason": "Refunds look wrong, investigating" }'Answers the agent. The audit event app.authz.agent.suspended records how many tasks were revoked. Each revoked task records who revoked it in revoked_by.
Suspend every agent#
POST
/v1/apps/:app_id/authz/agents/suspend_allApp keyreasonstring
Why. Up to 500 characters. Default Every agent was stopped.
Suspends every active agent of the app.
{ "suspended": ["billing-assistant", "refund-worker"], "tasks_revoked": 7 }curl -X POST https://api.scute.io/v1/apps/$SCUTE_APP_ID/authz/agents/suspend_all \ -H "Authorization: Bearer $SCUTE_APP_SECRET" \ -H "Content-Type: application/json" \ -d '{ "reason": "Incident 2026-11-19" }'Resume#
POST
/v1/apps/:app_id/authz/agents/:slug/resumeApp keySets the agent back to active and clears suspended_reason. Tasks revoked by the suspension stay revoked: create new ones.
What else stops an agent's tasks#
| Event | Effect |
|---|---|
| A task is revoked | Every open task inside it ends too |
| The person a task acts for is banned or suspended | Their open tasks end, in every app, with a revoke_note saying why |
| The person is deactivated | Checks for them answer deny with person_inactive |
| An agent key is revoked | New conversations with that key are refused |