---
title: "Changes to Create a routine"
method: POST
path: "/api/v1/ai/routines"
---

# Changes to Create a routine

`POST /api/v1/ai/routines`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 10 of 97 revisions.

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

## Changes

- **2026-10-30** `b6e3da9f6139`: 2 info
  - added `webhook` discriminator mapping keys to the `destination` request property
  - added `#/components/schemas/RoutineWebhookDestination` to the `destination` request property `oneOf` list
- **2026-10-27** `e44794bc2ac4`: 1 breaking, 1 info
  - the `destination/oneOf[#/components/schemas/RoutineEmailDestination]/userGroupIds/items/` request property's minLength was increased from `0` to `1`
  - the `destination/oneOf[#/components/schemas/RoutineEmailDestination]/userGroupIds/items/` request property format was generalized from `uuid` to no format
- **2026-10-02** `b7e57fd530b5`: 3 info
  - added the new optional request property `destination/oneOf[#/components/schemas/RoutineSlackDestination]/recipients`
  - the request property `destination/oneOf[#/components/schemas/RoutineSlackDestination]/recipientId` became optional
  - request property `destination/oneOf[#/components/schemas/RoutineSlackDestination]/recipientId` deprecated
- **2026-09-10** `93b36f3e1394`: 1 warning, 1 info
  - removed the request property `condition/verify`
  - added the required property `condition/allOf[subschema #2]/interpretation` to the response with the `201` status
- **2026-08-27** `c86980cf0762`: 1 warning, 5 info
  - removed the request property `gating`
  - 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` to the response with the `201` status
  - 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`: 1 warning, 2 info
  - removed the optional property `gating` from the response with the `201` status
  - removed the non-success response with the status `402`
  - removed the non-success response with the status `503`
- **2026-08-11** `09bcf0709510`: 2 warning, 3 info
  - removed the optional property `trigger` from the response with the `201` status
  - added the new `no_condition_detected` enum value to the `code` response property for the response status `400`
  - added the new `alert` enum value to the request property `gating`
  - added the non-success response with the status `503`
  - added the optional property `gating` to the response with the `201` status
- **2026-08-05** `5bf89d043887`: 4 info
  - added the new optional request property `gating`
  - added the non-success response with the status `402`
  - added the optional property `code` to the response with the `400` status
  - added the optional property `trigger` to the response with the `201` status

---

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