---
title: "Changes to Generate AI completions from content"
method: POST
path: "/api/v1/ai/completions"
---

# Changes to Generate AI completions from content

`POST /api/v1/ai/completions`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 2 revisions.

- **2026-10-30** `4fd8e917d458`: 7 info

## Changes

- **2026-10-30** `4fd8e917d458`: 7 info
  - api tag `AI` added
  - added the new optional request property `responseFormat`
  - the `prompt` request property's minLength was decreased from `1` to `0`
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `500`
  - added the success response with the status `200`

---

[Operation](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/docs/api/v1/ai/completions/post.md) - [API](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api.md) - [Page](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/changes/api/v1/ai/completions/post)
