Work

Update Work Routine

Change one routine.

Only somebody who can read the routine's delivery conversation may change it, and re-pointing deliveryConversationId is a second grant: the NEW conversation must be readable too. Omitted fields keep their stored value.

patch/work/routines/{routine_id}

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/work/routines/{routine_id}
  • Auth: HTTP bearer

Path parameters

routine_idstring uuid required

Routine id

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

agentIdstring nullable

Agent that runs the routine

titlestring nullable

What the routine is called

instructionstring nullable

What the agent is asked to do each run

deliveryConversationIdstring nullable

Re-point delivery; the new conversation must also be readable

weekdaysinteger[] nullable

Days to run on (0-6)

localTimestring nullable

Local run time HH:MM

timezonestring nullable

IANA timezone the local time is read in

enabledboolean nullable

Turn the routine on or off

triggerKindstring nullable

schedule or event

triggerobject nullable

Trigger config, for event routines

eventPolicyobject nullable

Optional event-handling policy

Response

Successful Response

Changes

No recorded changes to this operation across all 2 revisions of this API.