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

# Changes to Complete

`POST /chat/completions`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 5 revisions.

- **2026-07-17** `cc76ee2bed1c`: 4 breaking, 2 warning, 2 info
- **2025-05-04** `d7e615a9c1d6`: 5 breaking, 3 info

## Changes

- **2026-07-17** `cc76ee2bed1c`: 4 breaking, 2 warning, 2 info
  - the `messages/items/content/anyOf[subschema #2]/items/` request property type changed from `object` to no type
  - the `choices/items/message/content/anyOf[subschema #2]/items/` response's property type changed from `object` to no type for status `200`
  - removed the required property `choices/items/message/content/anyOf[subschema #2]/items/text` from the response with the `200` status
  - removed the required property `choices/items/message/content/anyOf[subschema #2]/items/type` from the response with the `200` status
  - removed the request property `messages/items/content/anyOf[subschema #2]/items/text`
  - removed the request property `messages/items/content/anyOf[subschema #2]/items/type`
  - added `#/components/schemas/OpenAIContent, #/components/schemas/OpenAIImageContent, #/components/schemas/OpenAIFileContent` to the `messages/items/content/anyOf[subschema #2]/items/` request property `anyOf` list
  - added `#/components/schemas/OpenAIContent, #/components/schemas/OpenAIImageContent, #/components/schemas/OpenAIFileContent` to the `choices/items/message/content/anyOf[subschema #2]/items/` response property `anyOf` list for the response status `200`
- **2025-05-04** `d7e615a9c1d6`: 5 breaking, 3 info
  - added the new required request property `messages/items/content/anyOf[subschema #2]/items/text`
  - added the new required request property `messages/items/content/anyOf[subschema #2]/items/type`
  - removed `#/components/schemas/OpenAIContent, #/components/schemas/OpenAIImageContent, #/components/schemas/OpenAIFileContent` from the `messages/items/content/anyOf[subschema #2]/items/` request property `anyOf` list
  - the `messages/items/content/anyOf[subschema #2]/items/` request property type changed from no type to `object`
  - the `choices/items/message/content/anyOf[subschema #2]/items/` response's property type changed from no type to `object` for status `200`
  - removed `#/components/schemas/OpenAIContent, #/components/schemas/OpenAIImageContent, #/components/schemas/OpenAIFileContent` from the `choices/items/message/content/anyOf[subschema #2]/items/` response property `anyOf` list for the response status `200`
  - added the required property `choices/items/message/content/anyOf[subschema #2]/items/text` to the response with the `200` status
  - added the required property `choices/items/message/content/anyOf[subschema #2]/items/type` to the response with the `200` status

---

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