Agents
Change who can use an already shared agent
Changed onAdmins only. Replaces which teams, or whether the whole organization, can use an agent. The owner must have shared the agent first; otherwise the answer is 409.
put/v1/org/personal-agents/{id}/audience
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
id, string required
Request body
Set Personal Agent Audience required
organization, boolean required
autoAddOrganization, boolean
teams, object[] required
Response
Change who can use an already shared agent
Personal Agent Admin Item required
agent, Personal Agent required
owner, Personal Agent Person required
sharedWith, Personal Agent Share[] required
writeAccess, object required
How many tools its policy names as allow, ask and block.
toolPolicy, Personal Agent Tool Policy
spend, Personal Agent Spend required
routines, Personal Agent Routine Summary[] required
audience, Personal Agent Audience
Changes
- breaking
added
subschema #6to theroutines/items/scheduleresponse propertyoneOflist for the response status
- breaking
- info
added the optional property
toolPolicyto the response with the status
- info