---
title: "Changes to Proxy to OpenAI-Compatible Chat Completions"
method: POST
path: "/api/llm/openai/chat/completions"
---

# Changes to Proxy to OpenAI-Compatible Chat Completions

`POST /api/llm/openai/chat/completions`

> Every recorded change to this endpoint, newest first.
> 103 revisions in range; 1 not diffed.

## Timeline

Changed in 1 of 103 revisions.

- **2026-08-07** `e1ba2ecdbabb` — 8 breaking, 6 info

## Changes

- **2026-08-07** `e1ba2ecdbabb` — 8 breaking, 6 info
  - request body became required
  - added `#/components/schemas/ChatMessageRoleEnum` to the `messages/items/role` request property `allOf` list
  - removed the enum value `assistant` of the request property `messages/items/role`
  - removed the enum value `system` of the request property `messages/items/role`
  - removed the enum value `user` of the request property `messages/items/role`
  - the `model` request property's minLength was increased from `0` to `1`
  - the `messages/items/content` request property type changed from `string` to no type
  - the `messages/items/role` request property type changed from `string` to no type
  - added the new optional request property `messages/items/tool_call_id`
  - added the new optional request property `messages/items/tool_calls`
  - added the media type `application/x-www-form-urlencoded` to the request body
  - added the media type `multipart/form-data` to the request body
  - the request property `messages/items/content` became nullable
  - the request property `messages/items/content` became optional

---

[Operation](https://skmtc.dev/humansignal/apis/label-studio-api/docs/api/llm/openai/chat/completions/post.md) · [API](https://skmtc.dev/humansignal/apis/label-studio-api.md) · [Page](https://skmtc.dev/humansignal/apis/label-studio-api/changes/api/llm/openai/chat/completions/post)
