Agents and the kill switch
Register an agent
POST
/api/w/:wid/agentsRegister an agent and choose who it acts for (members may only register agents that act for themselves). It starts at the workspace’s starting tier. Issue its key with POST .../agents/:aid/keys.
| Field | Description |
|---|---|
name | how people recognise it, for example “Expenses bot” |
vendor | anthropic, openai, google, meta or custom |
principalId | the principal it acts for; defaults to the caller’s own |
#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