Identity and access
Set allowlists
PUT
/api/w/:wid/agents/:aid/allowliststools is a list of { appId, tools }; models a list of model ids, provider/* or "*". null clears either.
#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