---
title: "Changes to POST /api/ai/chat"
method: POST
path: "/api/ai/chat"
---

# Changes to POST /api/ai/chat

`POST /api/ai/chat`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 91 revisions.

- **2026-09-18** `1a899adf06b3`: 1 info
- **2026-08-14** `079f3e5f2605`: 1 info
- **2026-06-26** `caacbf2525d7`: 1 warning
- **2026-06-23** `fdf89e6fa8e2`: 1 info
- **2026-03-18** `f29fa637d35b`: 2 breaking

## Changes

- **2026-09-18** `1a899adf06b3`: 1 info
  - added the new optional request property `id`
- **2026-08-14** `079f3e5f2605`: 1 info
  - added the new optional request property `options`
- **2026-06-26** `caacbf2525d7`: 1 warning
  - removed the request property `context`
- **2026-06-23** `fdf89e6fa8e2`: 1 info
  - added the new `code_mode` enum value to the request property `tools/anyOf[subschema #1]/items/mode/items/`
- **2026-03-18** `f29fa637d35b`: 2 breaking
  - added the new required request property `context`
  - removed the enum value `code_mode` of the request property `tools/anyOf[subschema #1]/items/mode/items/`

---

[Operation](https://skmtc.dev/marimo-team/apis/marimo-api/docs/api/ai/chat/post.md) - [API](https://skmtc.dev/marimo-team/apis/marimo-api.md) - [Page](https://skmtc.dev/marimo-team/apis/marimo-api/changes/api/ai/chat/post)
