Agents

Change or pause an agent's routine

Changed on

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

Path parameters

id, string required
routineId, string required

Request body

UpdatePersonalAgentRoutine required
name, string
instructions, string
schedule, union
active, boolean

Response

Routine updated.

AutomationDetail required
automation, Automation required
revision, AutomationRevision required
latestRun, AutomationRun nullable required

Changes

    • breaking

      added subschema #6 to the revision/schedule response property oneOf list for the response status

    • warning

      added the new awaiting_owner enum value to the request/status response property for the response status

    • warning

      added the new turn_on enum value to the request/canDecide/items response property for the response status

    1 more change in this revision