---
title: "Changes to Complete sends the messages of a chat to the AI and asks it to generate a new message."
method: POST
path: "/v1/ai/complete"
---

# Changes to Complete sends the messages of a chat to the AI and asks it to generate a new message.

`POST /v1/ai/complete`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 70 revisions.

- **2026-10-29** (v1) `2f4cda73bc26`: 4 info
- **2026-06-24** (v1) `e47705c6c629`: 2 info
- **2025-11-27** (v1) `3ae36692d637`: 3 info

## Changes

- **2026-10-29** (v1) `2f4cda73bc26`: 4 info
  - added the new optional request property `includeReasoning`
  - added the new optional request property `messages/items/content/items/reasoning`
  - added the optional property `cacheWriteInputTokens` to the response with the `200` status
  - added the optional property `message/content/items/reasoning` to the response with the `200` status
- **2026-06-24** (v1) `e47705c6c629`: 2 info
  - added the optional property `cachedInputTokens` to the response with the `200` status
  - added the optional property `provider` to the response with the `200` status
- **2025-11-27** (v1) `3ae36692d637`: 3 info
  - added the new optional request property `tools/items/displayName`
  - added the new optional request property `tools/items/meta`
  - added the new optional request property `tools/items/outputSchema`

---

[Operation](https://skmtc.dev/rilldata/apis/rill-admin-api/docs/v1/ai/complete/post.md) - [API](https://skmtc.dev/rilldata/apis/rill-admin-api.md) - [Page](https://skmtc.dev/rilldata/apis/rill-admin-api/changes/v1/ai/complete/post)
