---
title: "Changes to Create an AI Routine"
method: POST
path: "/v1/ai/routines"
---

# Changes to Create an AI Routine

`POST /v1/ai/routines`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 2 revisions.

- **2026-11-03** `43290040f88f`: 6 breaking, 3 warning, 12 info

## Changes

- **2026-11-03** `43290040f88f`: 6 breaking, 3 warning, 12 info
  - the request property `description` became not nullable
  - the request property `topicName` became not nullable
  - the `destination/oneOf[#/components/schemas/RoutineEmailDestination]/userGroupIds/items/` request property's minLength was increased from `0` to `1`
  - the `name` request property's minLength was increased from `0` to `1`
  - the `prompt` request property's minLength was increased from `0` to `1`
  - the `schedule` request property's minLength was increased from `0` to `1`
  - the `description` request property's maxLength was set to `2000`
  - the `name` request property's maxLength was set to `512`
  - the `topicName` request property's maxLength was set to `256`
  - added the new optional request property `condition`
  - 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
  - added `email, slack, webhook` discriminator mapping keys to the `destination` request property
  - added `#/components/schemas/RoutineWebhookDestination` to the `destination` request property `oneOf` list
  - the `destination/oneOf[#/components/schemas/RoutineEmailDestination]/userGroupIds/items/` request property format was generalized from `uuid` to no format
  - 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
  - added the optional property `condition` to the response with the `201` status
  - the response property `id` became required for the status `201`

---

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