Call a deployment endpoint with specified tools and messages.
Request body
Response
Successful response
Changes
Changed in 5 of the 24 revisions of this API.4214
- ●
removed the optional property
choices/items/message/tool_calls/items/function/parametersfrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
choices/items/message/tool_calls/items/function/argumentsto the response with the200statusresponse-optional-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ●
removed the optional property
tool_callsfrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
choices/items/message/tool_callsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
task_idto the response with the200statusresponse-optional-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
the response property
choices/items/message/contentbecame optional for the status200response-property-became-optional
- ▲
the response property
choices/items/message/rolebecame optional for the status200response-property-became-optional
- ○
api operation id
createChatCompletionremoved and replaced withapi-operation-id-removed
- ○
the endpoint scheme security
bearerAuthwas added to the APIapi-security-added
- ○
the endpoint scheme security
apiKeyAuthwas removed from the APIapi-security-removed
- ○
the request property
messages/items/contentbecame optionalrequest-property-became-optional
- ○
the request property
messages/items/rolebecame optionalrequest-property-became-optional
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the request property
messages/items/contentbecame requiredrequest-property-became-required
- ▲
the request property
messages/items/rolebecame requiredrequest-property-became-required
- ○
api operation id
createChatCompletionwas addedapi-operation-id-added
- ○
the endpoint scheme security
apiKeyAuthwas added to the APIapi-security-added
- ○
api tag
Chataddedapi-tag-added
- ○
the response property
choices/items/message/contentbecame required for the status200response-property-became-required
- ○
the response property
choices/items/message/rolebecame required for the status200response-property-became-required
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
- ○