Agents
Change or pause an agent's routine
Changed onSend only the fields that change: name, instructions, schedule, or active to pause or resume. The owner's change applies at once. A manager's change becomes a request the owner must approve, answered with 202.
patch/v1/personal-agents/{id}/routines/{routineId}
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
id, string required
routineId, string required
Request body
Update Personal Agent Routine required
name, string
instructions, string
schedule, union
active, boolean
Response
Routine updated.
Automation Detail required
automation, Automation required
revision, Automation Revision required
latestRun, Automation Run nullable required
Changes
- breaking
added
subschema #6to therevision/scheduleresponse propertyoneOflist for the response status
- breaking
- warning
added the new
awaiting_ownerenum value to therequest/statusresponse property for the response status - warning
added the new
turn_onenum value to therequest/canDecide/itemsresponse property for the response status
1 more change in this revision
- warning