---
title: "Changes to Update a routine"
method: PATCH
path: "/api/v1/ai/routines/{id}"
---

# Changes to Update a routine

`PATCH /api/v1/ai/routines/{id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 11 of 97 revisions.

- **2026-10-30** `b6e3da9f6139`: 1 breaking, 3 info
- **2026-10-27** `e44794bc2ac4`: 2 breaking, 1 info
- **2026-10-02** `b7e57fd530b5`: 1 breaking, 5 info
- **2026-09-10** `93b36f3e1394`: 2 breaking, 2 warning, 2 info
- **2026-08-27** `2ed3f36eff42`: 5 info
- **2026-08-27** `c86980cf0762`: 1 info
- **2026-08-25** `08aaa13edcf0`: 1 warning, 1 info
- **2026-08-19** `e77ab32034c9`: 2 info
- **2026-08-18** `b2d286e1ae94`: 2 info
- **2026-08-13** `499d4ddc73b6`: 3 info
- **2026-08-11** `09bcf0709510`: 1 info

## Changes

- **2026-10-30** `b6e3da9f6139`: 1 breaking, 3 info
  - added `#/components/schemas/RoutineWebhookDestination` to the `destination` response property `oneOf` list for the response status `200`
  - added `webhook` discriminator mapping keys to the `destination/allOf[#/components/schemas/RoutineDestination]/` request property
  - added `#/components/schemas/RoutineWebhookDestination` to the `destination/allOf[#/components/schemas/RoutineDestination]/` request property `oneOf` list
  - added `webhook` discriminator mapping keys to the `destination` response property for the response status `200`
- **2026-10-27** `e44794bc2ac4`: 2 breaking, 1 info
  - the `destination/allOf[#/components/schemas/RoutineDestination]/oneOf[#/components/schemas/RoutineEmailDestination]/userGroupIds/items/` request property's minLength was increased from `0` to `1`
  - the `destination/oneOf[#/components/schemas/RoutineEmailDestinationResponse]/userGroupIds/items/` response's property format changed from `uuid` to no format for status `200`
  - the `destination/allOf[#/components/schemas/RoutineDestination]/oneOf[#/components/schemas/RoutineEmailDestination]/userGroupIds/items/` request property format was generalized from `uuid` to no format
- **2026-10-02** `b7e57fd530b5`: 1 breaking, 5 info
  - added `#/components/schemas/RoutineSlackDestinationResponse` to the `destination` response property `oneOf` list for the response status `200`
  - added the new optional request property `destination/allOf[#/components/schemas/RoutineDestination]/oneOf[#/components/schemas/RoutineSlackDestination]/recipients`
  - the request property `destination/allOf[#/components/schemas/RoutineDestination]/oneOf[#/components/schemas/RoutineSlackDestination]/recipientId` became optional
  - request property `destination/allOf[#/components/schemas/RoutineDestination]/oneOf[#/components/schemas/RoutineSlackDestination]/recipientId` deprecated
  - mapped value for discriminator key `slack` changed from `#/components/schemas/RoutineSlackDestination` to `#/components/schemas/RoutineSlackDestinationResponse` for `destination` response property for the response status `200`
  - removed `#/components/schemas/RoutineSlackDestination` from the `destination` response property `oneOf` list for the response status `200`
- **2026-09-10** `93b36f3e1394`: 2 breaking, 2 warning, 2 info
  - the `condition/verification` response's property type changed from `object, null` to no type for status `200`
  - removed the required property `condition/verification/rowCount` from the response with the `200` status
  - removed the request property `condition/verify`
  - removed the optional property `condition/verification/conditionMetNow` from the response with the `200` status
  - added the optional property `condition/interpretation` to the response with the `200` status
  - added `#/components/schemas/RoutineConditionVerification, subschema #2` to the `condition/verification` response property `allOf` list for the response status `200`
- **2026-08-27** `2ed3f36eff42`: 5 info
  - added the new optional request property `condition`
  - added the non-success response with the status `402`
  - added the non-success response with the status `503`
  - added the optional property `condition/verification` to the response with the `200` status
  - added the required property `condition/query` to the response with the `200` status
- **2026-08-27** `c86980cf0762`: 1 info
  - removed the `no_condition_detected` enum value from the `code` response property for the response status `400`
- **2026-08-25** `08aaa13edcf0`: 1 warning, 1 info
  - added the new `not_expressible` enum value to the `code` response property for the response status `400`
  - removed the `no_gate` enum value from the `code` response property for the response status `400`
- **2026-08-19** `e77ab32034c9`: 2 info
  - removed the `classifier_unparseable` enum value from the `code` response property for the response status `400`
  - removed the `not_expressible` enum value from the `code` response property for the response status `400`
- **2026-08-18** `b2d286e1ae94`: 2 info
  - removed the non-success response with the status `402`
  - removed the non-success response with the status `503`
- **2026-08-13** `499d4ddc73b6`: 3 info
  - added the non-success response with the status `402`
  - added the non-success response with the status `503`
  - added the optional property `code` to the response with the `400` status
- **2026-08-11** `09bcf0709510`: 1 info
  - added the required property `condition` to the response with the `200` status

---

[Operation](https://skmtc.dev/omniapp/apis/omni-api/docs/api/v1/ai/routines/:id/patch.md) - [API](https://skmtc.dev/omniapp/apis/omni-api.md) - [Page](https://skmtc.dev/omniapp/apis/omni-api/changes/api/v1/ai/routines/:id/patch)
