Chat Completion
Changed onChat Completion
Request
- Base URLhttps://api.mistral.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"model": "mistral-large-latest",
"messages": [
{
"role": "user",
"content": "Who is the best French painter? Answer in one short sentence."
}
],
"response_format": {
"type": "text"
}
}Response
Successful Response
Changes
- breaking
removed from the
//request propertyoneOflist - breaking
added to the
//////response propertyoneOflist for the response status (media type: application/json) - breaking
added to the
///////response propertyoneOflist for the response status (media type: application/json) - breaking
added to the
//////response propertyoneOflist for the response status (media type: text/event-stream) - warning
added the new
mistral_mcpenum value to the////////////response property for the response status (media type: application/json) - warning
added the new
mistral_mcpenum value to the/////////////response property for the response status (media type: application/json) - warning
added the new
mistral_mcpenum value to the////////////response property for the response status (media type: text/event-stream) - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added
resourceresource_linkdiscriminator mapping keys to the/////request property - info
added
resourceresource_linkdiscriminator mapping keys to the/////request property - info
added
resourceresource_linkdiscriminator mapping keys to the/////request property - info
removed
web_searchweb_search_premiumcode_interpreterdiscriminator mapping keys from the//request property - info
added the new
mistral_mcpenum value to the request property/////////// - info
added the new
mistral_mcpenum value to the request property/////////// - info
added the new
mistral_mcpenum value to the request property/////////// - info
added the new
mistral_mcpenum value to the request property/////////// - info
added to the
/////request propertyoneOflist - info
added to the
/////request propertyoneOflist - info
added to the
/////request propertyoneOflist - info
added the optional property
///to the response with the status (media type: application/json) - info
added the optional property
///to the response with the status (media type: application/json) - info
added the optional property
///to the response with the status (media type: text/event-stream) - info
added the optional property
///to the response with the status (media type: text/event-stream) - info
added
resourceresource_linkdiscriminator mapping keys to the//////response property for the response status (media type: application/json) - info
added
resourceresource_linkdiscriminator mapping keys to the///////response property for the response status (media type: application/json) - info
added
resourceresource_linkdiscriminator mapping keys to the//////response property for the response status (media type: text/event-stream)
- breaking
- info
added the new optional request property
- info
added the optional property
//////to the response with the status (media type: application/json) - info
added the optional property
//to the response with the status (media type: text/event-stream)
- info