Update an AI Routine
Update an existing AI Routine. All request fields are optional, and only supplied fields are changed. Supplying destination replaces the full recipient configuration — switching to a different destination type (email, Slack, or webhook) clears the previous destination’s state, such as a linked Slack credential or email recipients.
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Query Parameters
Body
Replaces the delivery condition: Omni authors and verifies the condition query, resets the comparison baseline, and cancels any in-progress condition evaluation so a run started under the old condition cannot deliver.
Pass null to remove the condition, making the routine deliver on every scheduled run.
Omit to leave the stored condition unchanged.
Response
Routine updated successfully

