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

# Changes to POST /api/internal/chat/completions

`POST /api/internal/chat/completions`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 7 of 19 revisions.

- **2025-09-06** `872932ae0b8a` — 1 info
- **2025-09-04** `6fce808cc14e` — 9 breaking, 5 warning, 10 info
- **2025-08-21** `3eac827d87b9` — 1 warning, 3 info
- **2025-08-20** `4ba54de0b707` — 6 info
- **2025-07-30** `6251de8da200` — 3 breaking, 8 info
- **2025-07-01** `5dacf54bc4d2` — 2 info
- **2025-05-27** `70f7bad608d6` — 1 breaking, 7 info

## Changes

- **2025-09-06** `872932ae0b8a` — 1 info
  - the `response_format` request property default value `{"type":"text","json_schema":{}}` was removed
- **2025-09-04** `6fce808cc14e` — 9 breaking, 5 warning, 10 info
  - removed `subschema #1, subschema #2` from the `tool_choice` request property `anyOf` list
  - request property `messages/items/tool_calls/items/type` was restricted to a list of enum values
  - the response property `choices/items/logprobs` became nullable for the status `200` (media type: text/event-stream)
  - the response property `choices/items/message/content` became nullable for the status `200` (media type: application/json)
  - the response property `system_fingerprint` became nullable for the status `200` (media type: application/json)
  - the `object` response property const value `chat.completion` was removed for the status `200` (media type: application/json)
  - the `object` response property const value `chat.completion.chunk` was removed for the status `200` (media type: text/event-stream)
  - the `type` response property const value `function` was removed for the status `200` (media type: application/json)
  - the `type` response property const value `function` was removed for the status `200` (media type: text/event-stream)
  - the `max_completion_tokens` request property's min was set to `0.00`
  - added the new `chat.completion` enum value to the `object` response property for the response status `200` (media type: application/json)
  - added the new `chat.completion.chunk` enum value to the `object` response property for the response status `200` (media type: text/event-stream)
  - added the new `function` enum value to the `choices/items/delta/tool_calls/items/type` response property for the response status `200` (media type: text/event-stream)
  - added the new `function` enum value to the `choices/items/message/tool_calls/items/type` response property for the response status `200` (media type: application/json)
  - added `subschema #1, subschema #2` to the `tool_choice` request property `anyOf` list
  - the request property `max_completion_tokens` became nullable
  - the request property `messages/items/content` became nullable
  - the request property `response_format/json_schema/additionalProperties/` became nullable
  - the request property `temperature` became nullable
  - the request property `tools/items/` became nullable
  - the request property `top_p` became nullable
  - the `type` request property const value `function` was removed
  - added the new `function` enum value to the request property `messages/items/tool_calls/items/type`
  - the `max_completion_tokens` request property's exclusiveMinimum was decreased from `0.00` to `true`
- **2025-08-21** `3eac827d87b9` — 1 warning, 3 info
  - added the new `tool` enum value to the `choices/items/message/role` response property for the response status `200`
  - added the optional property `choices/items/message/name` to the response with the `200` status
  - added the optional property `choices/items/message/tool_call_id` to the response with the `200` status
  - added the optional property `choices/items/message/tool_calls` to the response with the `200` status
- **2025-08-20** `4ba54de0b707` — 6 info
  - added the new optional request property `messages/items/name`
  - added the new optional request property `messages/items/tool_call_id`
  - added the new optional request property `messages/items/tool_calls`
  - the request property `messages/items/content` became nullable
  - the request property `messages/items/content` became optional
  - added the new `tool` enum value to the request property `messages/items/role`
- **2025-07-30** `6251de8da200` — 3 breaking, 8 info
  - the request property `messages/items/content` became not nullable
  - the request property `messages/items/content` became required
  - the `messages/items/content` request property type/format changed from `null`/`` to `string`/``
  - added the optional property `service_tier` to the response with the `200` status
  - added the optional property `system_fingerprint` to the response with the `200` status
  - added the optional property `usage` to the response with the `200` status
  - added the required property `choices` to the response with the `200` status
  - added the required property `created` to the response with the `200` status
  - added the required property `id` to the response with the `200` status
  - added the required property `model` to the response with the `200` status
  - added the required property `object` to the response with the `200` status
- **2025-07-01** `5dacf54bc4d2` — 2 info
  - added the new optional request property `tool_choice`
  - added the new optional request property `tools`
- **2025-05-27** `70f7bad608d6` — 1 breaking, 7 info
  - removed the enum value `tool` of the request property `messages/items/role`
  - the request property `frequency_penalty` became optional
  - the request property `max_completion_tokens` became optional
  - the request property `presence_penalty` became optional
  - the request property `stream` became optional
  - the request property `temperature` became optional
  - the request property `top_p` became optional
  - the `response_format` request property default value `{"type":"text","json_schema":{}}` was added

---

[Operation](https://skmtc.dev/premai-io/apis/prem-studio-api/docs/api/internal/chat/completions/post.md) · [API](https://skmtc.dev/premai-io/apis/prem-studio-api.md) · [Page](https://skmtc.dev/premai-io/apis/prem-studio-api/changes/api/internal/chat/completions/post)
