Agents
Share an agent with teams or the organization
Changed onReplaces which teams, or whether the whole organization, can use the agent. Only the owner or a manager can change it, and the organization's policy can limit sharing to admins.
put/v1/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
Updated agent.
Personal Agent Detail required
agent, Personal Agent required
revision, Personal Agent Revision required
routineCount, integer required
role, 'owner' | 'manager' | 'collaborator'
What the caller may do with this agent.
owner, Personal Agent Person nullable
sharedWith, Personal Agent Share[]
routines, Personal Agent Routine Summary[]
spend, Personal Agent Spend
openRequestCount, integer
audience, Personal Agent Audience
listed, boolean
False when the caller can use the agent through their organization or a team but has not opened it and it was not added for them: offer it, do not list it.
canShare, boolean
Whether the caller may share this agent now: their role allows it and the organization lets them.
Changes
- breaking
added
subschema #6to theroutines/items/scheduleresponse propertyoneOflist for the response status
- breaking
- info
added the optional property
agent/memberIdto the response with the status
- info