Update an AI Routine
Update an existing AI Routine. All request fields are optional, and only supplied fields are changed.
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Path Parameters
The UUID of the routine.
Query Parameters
Organization API key required. Target user membership ID.
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.
New customer-visible name of the routine. Used as the email subject for email destinations, and shown on Slack deliveries.
1 - 512Display-only notes about the routine. Pass null to clear it.
2000Replaces the routine's full recipient configuration with the supplied destination.
- Option 1
- Option 2
New natural language prompt for the routine: what Omni runs and delivers on each scheduled run. Run a skill as part of the routine by including a skill's /identifier, which will resolve as the routine owner when the routine fires.
1New six-field cron expression (minute, hour, day-of-month, month, day-of-week, year; use ? for an unspecified day field). Minimum frequency is once per hour.
1New IANA timezone identifier used to evaluate the schedule.
1Response
Routine updated successfully
Branch of the shared model the prompt runs against, or null.
The delivery condition. Null for a routine that delivers on every scheduled run.
ISO 8601 timestamp when the routine was created.
Display-only notes about the routine, or null.
Single delivery destination for the routine — email or Slack. To send results to multiple destinations, create one routine per destination.
- Option 1
- Option 2
Whether the owner has paused the routine.
The unique identifier of the routine.
Most recent completed run, or null if the routine has never completed a run.
The shared model the prompt runs against.
Customer-visible name of the routine, used as the email subject.
Natural language prompt Omni runs on each scheduled run.
Number of distinct deliverable recipients after expanding user groups and removing duplicates.
Six-field cron expression (minute, hour, day-of-month, month, day-of-week, year; use ? for an unspecified day field).
Whether Omni disabled the routine because it could no longer run successfully or safely.
Reason Omni disabled the routine, or null.
IANA timezone identifier used to evaluate the schedule.
Topic scoping query generation, or null.
ISO 8601 timestamp when the routine was last updated.

