---
title: "Changes to Create a chat completion"
method: POST
path: "/v1/chat/completions"
---

# Changes to Create a chat completion

`POST /v1/chat/completions`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 11 revisions.

- **2026-08-13** `b9a74274b2ab`: 1 breaking, 2 warning, 11 info

## Changes

- **2026-08-13** `b9a74274b2ab`: 1 breaking, 2 warning, 11 info
  - removed `#/components/schemas/ChatCompletionRequest, #/components/schemas/WarpGrepRequest` from the request body `oneOf` list
  - removed the optional property `error/type` from the response with the `400` status
  - removed the optional property `error/type` from the response with the `401` status
  - api operation id `createChatCompletion` was added
  - the endpoint scheme security `bearerAuth` was added to the API
  - api tag `chat` added
  - added `#/components/schemas/ChatCompletionRequest, #/components/schemas/WarpGrepRequest` to the request body `anyOf` list
  - removed request discriminator
  - added the non-success response with the status `429`
  - added the non-success response with the status `500`
  - the response property `error/code` became required for the status `400`
  - the response property `error/code` became required for the status `401`
  - the response property `error/message` became required for the status `400`
  - the response property `error/message` became required for the status `401`

---

[Operation](https://skmtc.dev/morphllm/apis/morph-api/docs/v1/chat/completions/post.md) - [API](https://skmtc.dev/morphllm/apis/morph-api.md) - [Page](https://skmtc.dev/morphllm/apis/morph-api/changes/v1/chat/completions/post)
