---
title: "Changes to Creates a model response for the given chat conversation."
method: POST
path: "/chat/completions?agent=true"
---

# Changes to Creates a model response for the given chat conversation.

`POST /chat/completions?agent=true`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 4 of 8 revisions.

- **2025-10-16** `cb3bf9b21459` — 4 breaking, 2 warning, 10 info
- **2025-07-18** `f8e8c290636c` — 2 warning, 7 info
- **2025-07-17** `5fc9af728e82` — 1 breaking, 5 warning, 3 info
- **2025-07-17** `f8e8c290636c` — 1 info

## Changes

- **2025-10-16** `cb3bf9b21459` — 4 breaking, 2 warning, 10 info
  - the `allOf[subschema #2]/messages/items/oneOf[subschema #1: System message]/content/oneOf[subschema #2: Array of content parts]/items/` request property type/format changed from `string`/`` to ``/``
  - the `allOf[subschema #2]/messages/items/oneOf[subschema #2: Developer message]/content/oneOf[subschema #2: Array of content parts]/items/` request property type/format changed from `string`/`` to ``/``
  - the `allOf[subschema #2]/messages/items/oneOf[subschema #3: User message]/content/oneOf[subschema #2: Array of content parts]/items/` request property type/format changed from `string`/`` to ``/``
  - the `allOf[subschema #2]/messages/items/oneOf[subschema #4: Assistant message]/content/oneOf[subschema #2: Array of content parts]/items/` request property type/format changed from `string`/`` to ``/``
  - added the new `content_filter` enum value to the `choices/items/finish_reason` response property for the response status `200` (media type: application/json)
  - added the new `content_filter` enum value to the `choices/items/finish_reason` response property for the response status `200` (media type: text/event-stream)
  - the endpoint scheme security `AgentAccessKey` was added to the API
  - the endpoint scheme security `ApiKeyAuth` was removed from the API
  - api tag `inference-proxy-api-new_Chat` added
  - api tag `Chat` removed
  - added `subschema #1, subschema #2` to the `allOf[subschema #2]/messages/items/oneOf[subschema #1: System message]/content/oneOf[subschema #2: Array of content parts]/items/` request property `oneOf` list
  - added `subschema #1, subschema #2` to the `allOf[subschema #2]/messages/items/oneOf[subschema #2: Developer message]/content/oneOf[subschema #2: Array of content parts]/items/` request property `oneOf` list
  - added `subschema #1, subschema #2` to the `allOf[subschema #2]/messages/items/oneOf[subschema #3: User message]/content/oneOf[subschema #2: Array of content parts]/items/` request property `oneOf` list
  - added `subschema #1, subschema #2` to the `allOf[subschema #2]/messages/items/oneOf[subschema #4: Assistant message]/content/oneOf[subschema #2: Array of content parts]/items/` request property `oneOf` list
  - added the optional property `choices/items/delta/reasoning_content` to the response with the `200` status (media type: text/event-stream)
  - added the required property `choices/items/message/reasoning_content` to the response with the `200` status (media type: application/json)
- **2025-07-18** `f8e8c290636c` — 2 warning, 7 info
  - added the new `tool_calls` enum value to the `choices/items/finish_reason` response property for the response status `200` (media type: application/json)
  - added the new `tool_calls` enum value to the `choices/items/finish_reason` response property for the response status `200` (media type: text/event-stream)
  - added the new optional request property `allOf[subschema #2]/messages/items/oneOf[subschema #4: Assistant message]/tool_calls`
  - added the new optional request property `allOf[subschema #2]/tool_choice`
  - added the new optional request property `allOf[subschema #2]/tools`
  - added `tool` discriminator mapping keys to the `allOf[subschema #2]/messages/items/` request property
  - added `#/components/schemas/ChatCompletionRequestToolMessage` to the `allOf[subschema #2]/messages/items/` request property `oneOf` list
  - added the optional property `choices/items/delta/tool_calls` to the response with the `200` status (media type: text/event-stream)
  - added the optional property `choices/items/message/tool_calls` to the response with the `200` status (media type: application/json)
- **2025-07-17** `5fc9af728e82` — 1 breaking, 5 warning, 3 info
  - removed `#/components/schemas/ChatCompletionRequestToolMessage` from the `allOf[subschema #2]/messages/items/` request property `oneOf` list
  - removed the request property `allOf[subschema #2]/messages/items/oneOf[subschema #4: Assistant message]/tool_calls`
  - removed the request property `allOf[subschema #2]/tool_choice`
  - removed the request property `allOf[subschema #2]/tools`
  - removed the optional property `choices/items/delta/tool_calls` from the response with the `200` status (media type: text/event-stream)
  - removed the optional property `choices/items/message/tool_calls` from the response with the `200` status (media type: application/json)
  - removed `tool` discriminator mapping keys from the `allOf[subschema #2]/messages/items/` request property
  - removed the `tool_calls` enum value from the `choices/items/finish_reason` response property for the response status `200` (media type: application/json)
  - removed the `tool_calls` enum value from the `choices/items/finish_reason` response property for the response status `200` (media type: text/event-stream)
- **2025-07-17** `f8e8c290636c` — 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/digitalocean/apis/digitalocean-api/docs/chat/completions?agent=true/post.md) · [API](https://skmtc.dev/digitalocean/apis/digitalocean-api.md) · [Page](https://skmtc.dev/digitalocean/apis/digitalocean-api/changes/chat/completions?agent=true/post)
