Skip to content

Agents and the kill switch

Register an agent

POST/api/w/:wid/agents

Register 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.

FieldDescription
namehow people recognise it, for example “Expenses bot”
vendoranthropic, openai, google, meta or custom
principalIdthe 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