Agents and the kill switch
Freeze an agent
POST
/api/w/:wid/agents/:aid/freezeStop the agent now: its action requests are denied (agent_frozen), its model calls and proxied tool calls are refused with 403 agent_stopped before anything is sent, and approvals in flight are cancelled. See the kill switch.
| Field | Description |
|---|---|
reason | why; recorded |
hold | owner, security or incident: who may lift it. Kill owners and security leads default to security |
#Authentication
Session cookie
A signed-in person: the console's session cookie. Every state-changing request also carries the header x-immiscible-csrf: 1, and the member's role decides what it may do. Bearer tokens are ignored on these routes, so no machine credential can reach them.
#Path parameters
widstringrequired
Workspace id
aidstringrequired
Agent id