Changes to Create a chat completion
POST /chat/completions
Every recorded change to this endpoint, newest first. Back to the operation
Changed in 14 of the 56 revisions of this API.112239
What changed
- ○
added the optional property
oneOf[CreateChatCompletionStreamResponse]/usage/completion_tokens_detailsto the response with the200status (media type: text/event-stream)response-optional-property-added
- ○
added the optional property
oneOf[CreateChatCompletionStreamResponse]/usage/prompt_tokens_detailsto the response with the200status (media type: text/event-stream)response-optional-property-added
- ○
added the optional property
usage/completion_tokens_detailsto the response with the200status (media type: application/json)response-optional-property-added
- ○
added the optional property
usage/prompt_tokens_detailsto the response with the200status (media type: application/json)response-optional-property-added
- ○
- ○
added the new enum value
llamacppto thequeryrequest parameterproviderrequest-parameter-enum-value-added
- ○
- ○
added the new enum value
zaito thequeryrequest parameterproviderrequest-parameter-enum-value-added
- ○
- ○
added the new enum value
nvidiato thequeryrequest parameterproviderrequest-parameter-enum-value-added
- ○
- ○
added the new optional request property
frequency_penaltynew-optional-request-property
- ○
added the new optional request property
logit_biasnew-optional-request-property
- ○
added the new optional request property
logprobsnew-optional-request-property
- ○
added the new optional request property
max_completion_tokensnew-optional-request-property
- ○
added the new optional request property
nnew-optional-request-property
- ○
added the new optional request property
parallel_tool_callsnew-optional-request-property
- ○
added the new optional request property
presence_penaltynew-optional-request-property
- ○
added the new optional request property
reasoning_effortnew-optional-request-property
- ○
added the new optional request property
response_formatnew-optional-request-property
- ○
added the new optional request property
seednew-optional-request-property
- ○
added the new optional request property
stopnew-optional-request-property
- ○
added the new optional request property
temperaturenew-optional-request-property
- ○
added the new optional request property
tool_choicenew-optional-request-property
- ○
added the new optional request property
top_logprobsnew-optional-request-property
- ○
added the new optional request property
top_pnew-optional-request-property
- ○
added the new optional request property
usernew-optional-request-property
- ○
request property
max_tokensdeprecatedrequest-property-deprecated
- ○
- ○
added the new enum value
minimaxto thequeryrequest parameterproviderrequest-parameter-enum-value-added
- ○
- ▲
added
SSEventCreateChatCompletionStreamResponseto the response bodyoneOflist for the response status200(media type: text/event-stream)response-body-one-of-added
- ▲
the response's body type/format changed from
object/to/for status200(media type: text/event-stream)response-body-type-changed
- ●
removed the optional property
datafrom the response with the200status (media type: text/event-stream)response-optional-property-removed
- ●
removed the optional property
eventfrom the response with the200status (media type: text/event-stream)response-optional-property-removed
- ●
removed the optional property
retryfrom the response with the200status (media type: text/event-stream)response-optional-property-removed
- ○
added the optional property
choices/items/logprobsto the response with the200status (media type: application/json)response-optional-property-added
- ▲
- ○
added the new optional request property
messages/items/tool_calls/items/extra_contentnew-optional-request-property
- ○
added the optional property
choices/items/message/tool_calls/items/extra_contentto the response with the200statusresponse-optional-property-added
- ○
- ○
added the new enum value
moonshotto thequeryrequest parameterproviderrequest-parameter-enum-value-added
- ○
- ○
added the new enum value
ollama_cloudto thequeryrequest parameterproviderrequest-parameter-enum-value-added
- ○
- ▲
response property
choices/items/message/contentlist-of-types was widened by adding typesarrayto media typeapplication/jsonof response200response-property-list-of-types-widened
- ○
request property
messages/items/contentlist-of-types was widened by adding typesarrayto media typeapplication/jsonrequest-property-list-of-types-widened
- ▲
- ○
added the new enum value
mistralto thequeryrequest parameterproviderrequest-parameter-enum-value-added
- ○
- ○
added the new enum value
googleto thequeryrequest parameterproviderrequest-parameter-enum-value-added
- ○
- ▲
removed the enum value
googlefrom thequeryrequest parameterproviderrequest-parameter-enum-value-removed
- ▲
removed the enum value
minimaxfrom thequeryrequest parameterproviderrequest-parameter-enum-value-removed
- ▲
removed the enum value
mistralfrom thequeryrequest parameterproviderrequest-parameter-enum-value-removed
- ▲
removed the enum value
moonshotfrom thequeryrequest parameterproviderrequest-parameter-enum-value-removed
- ▲
removed the enum value
nvidiafrom thequeryrequest parameterproviderrequest-parameter-enum-value-removed
- ▲
removed the enum value
ollama_cloudfrom thequeryrequest parameterproviderrequest-parameter-enum-value-removed
- ▲
removed the enum value
zaifrom thequeryrequest parameterproviderrequest-parameter-enum-value-removed
- ▲
request property
messages/items/contentlist-of-types was narrowed by removing typesarrayfrom media typeapplication/jsonrequest-property-list-of-types-narrowed
- ●
removed the request property
frequency_penaltyrequest-property-removed
- ●
removed the request property
logit_biasrequest-property-removed
- ●
removed the request property
logprobsrequest-property-removed
- ●
removed the request property
max_completion_tokensrequest-property-removed
- ●
removed the request property
messages/items/tool_calls/items/extra_contentrequest-property-removed
- ●
removed the request property
nrequest-property-removed
- ●
removed the request property
parallel_tool_callsrequest-property-removed
- ●
removed the request property
presence_penaltyrequest-property-removed
- ●
removed the request property
reasoning_effortrequest-property-removed
- ●
removed the request property
response_formatrequest-property-removed
- ●
removed the request property
seedrequest-property-removed
- ●
removed the request property
stoprequest-property-removed
- ●
removed the request property
temperaturerequest-property-removed
- ●
removed the request property
tool_choicerequest-property-removed
- ●
removed the request property
top_logprobsrequest-property-removed
- ●
removed the request property
top_prequest-property-removed
- ●
removed the request property
userrequest-property-removed
- ●
removed the optional property
choices/items/logprobsfrom the response with the200status (media type: application/json)response-optional-property-removed
- ●
removed the optional property
choices/items/message/tool_calls/items/extra_contentfrom the response with the200status (media type: application/json)response-optional-property-removed
- ○
request property
max_tokensreactivatedrequest-property-reactivated
- ○
removed
SSEventCreateChatCompletionStreamResponsefrom the response bodyoneOflist for the response status200(media type: text/event-stream)response-body-one-of-removed
- ○
added the optional property
datato the response with the200status (media type: text/event-stream)response-optional-property-added
- ○
added the optional property
eventto the response with the200status (media type: text/event-stream)response-optional-property-added
- ○
added the optional property
retryto the response with the200status (media type: text/event-stream)response-optional-property-added
- ○
response property
choices/items/message/contentlist-of-types was narrowed by removing typesarrayfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
This revision also has 38 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲