Fim Completion
Changed onFIM 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": "codestral-latest",
"prompt": "def",
"suffix": "return a+b"
}Response
Successful Response
Changes
- 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 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 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