---
title: "Changes to Create Chat Completion"
method: POST
path: "/chat/completions"
---

# Changes to Create Chat Completion

`POST /chat/completions`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 2 revisions.

- **2026-04-13** `39262b48ef68`: 8 breaking, 6 warning, 44 info

## Changes

- **2026-04-13** `39262b48ef68`: 8 breaking, 6 warning, 44 info
  - the request property `messages/items/content` became required
  - the request property `messages/items/role` became required
  - the `error` response's property type changed from `string` to `object` for status `400`
  - the `error` response's property type changed from `string` to `object` for status `401`
  - the `error` response's property type changed from `string` to `object` for status `403`
  - the `error` response's property type changed from `string` to `object` for status `404`
  - the `error` response's property type changed from `string` to `object` for status `429`
  - the `error` response's property type changed from `string` to `object` for status `500`
  - removed the optional property `message` from the response with the `400` status
  - removed the optional property `message` from the response with the `401` status
  - removed the optional property `message` from the response with the `403` status
  - removed the optional property `message` from the response with the `404` status
  - removed the optional property `message` from the response with the `429` status
  - removed the optional property `message` from the response with the `500` status
  - added the non-success response with the status `402`
  - added the non-success response with the status `413`
  - added the non-success response with the status `502`
  - added the non-success response with the status `504`
  - removed the non-success response with the status `422`
  - removed the non-success response with the status `503`
  - added the optional property `error/param` to the response with the `400` status
  - added the optional property `error/param` to the response with the `401` status
  - added the optional property `error/param` to the response with the `403` status
  - added the optional property `error/param` to the response with the `404` status
  - added the optional property `error/param` to the response with the `429` status
  - added the optional property `error/param` to the response with the `500` status
  - added the optional property `usage` to the response with the `200` status
  - added the optional property `x_metrics` to the response with the `200` status
  - the response property `error` became required for the status `400`
  - the response property `error` became required for the status `401`
  - the response property `error` became required for the status `403`
  - the response property `error` became required for the status `404`
  - the response property `error` became required for the status `429`
  - the response property `error` became required for the status `500`
  - added the required property `error/code` to the response with the `400` status
  - added the required property `error/code` to the response with the `401` status
  - added the required property `error/code` to the response with the `403` status
  - added the required property `error/code` to the response with the `404` status
  - added the required property `error/code` to the response with the `429` status
  - added the required property `error/code` to the response with the `500` status
  - …18 more

---

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