v1
latestSwagger 2.02026-07-1745767.1 KBGets chat completions for the provided chat messages. Completions support a wide variety of tasks and generate text that continues from or "completes" provided prompt data. The method makes a REST API call to the /chat/completions route on the given endpoint.
Deprecated: This API is deprecated. Use the OpenAI API instead. See migration guide.
post/chat/completions
Query parameters
api-versionstring required
The API version to use for this operation.
Headers
extra-parameters'error' | 'drop' | 'pass-through'
Controls what happens if extra parameters, undefined by the REST API, are passed in the JSON request payload. This sets the HTTP request header extra-parameters.
Request body
Response
The request has succeeded.