Metadata
| Field | Value |
|---|---|
| Name | killSwitch.all |
| Category | treasury |
| Required scope | agent:budget:revoke |
| Idempotency key required | no |
Annotations
| Annotation | Value |
|---|---|
| Title | Kill Switch (All Agents) |
| Read-only | no |
| Destructive | yes |
| Idempotent | yes |
| Open-world | no |
| Requires human approval | no |
Input schema
Output schema
Auth
Caller’s grant must include theagent:budget:revoke scope. Grants whose scope set is a superset of the required scope are accepted.
Request examples
Response examples
Successconfirm_scope literal
Errors
| Code | reason_id | Meaning |
|---|---|---|
-32000 | unauthenticated | Bearer token missing or expired. |
-32001 | unauthorized | Grant does not include agent:budget:revoke. |
-32602 | invalid_params | confirm_scope was not the exact literal "ALL_AGENTS_THIS_PRINCIPAL", or reason is not one of the allowed enum values. |
-32603 | internal_error | Transient fault. Re-check the admin UI — a partial kill may have already occurred. Use the forensic kill-switch at /admin/agents-kill-switch to verify state. |
reason after a prior successful call is a no-op on the revocation side (all grants are already revoked); executed_at will reflect the second call’s timestamp but counts will be 0.