Routines

Update a routine

Any subset of the create fields (except report_id). Changing schedule_cron recomputes next_run_at. Scope: routines.

patch/routines/{id}

Request

  • Base URL: https://commareports.com/api/v1
  • URL: https://commareports.com/api/v1/routines/{id}
  • Auth: HTTP bearer

Request body

namestring
schedule_cronstring
trigger_urlstring uri nullable

null/'' clears it (when converting to skill mode).

trigger_auth_headerstring nullable
payloadunknown
enabledboolean
skill_idstring uuid nullable
connector_idsstring[]

Response

Updated routine.

idstring uuid required
report_idstring uuid required
namestring required
schedule_cronstring required

5-field cron expression.

trigger_urlstring uri nullable
payloadunknown
enabledboolean required
last_run_atstring date-time nullable
last_run_statusstring nullable
last_run_errorstring nullable
next_run_atstring date-time nullable
skill_idstring uuid nullable
connector_idsstring[]
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.