Agents

Change who can use an already shared agent

Changed on

Admins 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 URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

id, string required

Request body

SetPersonalAgentAudience required
organization, boolean required
autoAddOrganization, boolean
teams, object[] required

Response

Change who can use an already shared agent

PersonalAgentAdminItem required
agent, PersonalAgent required
owner, PersonalAgentPerson required
sharedWith, PersonalAgentShare[] required
writeAccess, object required

How many tools its policy names as allow, ask and block.

toolPolicy, PersonalAgentToolPolicy
spend, PersonalAgentSpend required
routines, PersonalAgentRoutineSummary[] required
audience, PersonalAgentAudience

Changes