files
Upload File
Changed onUpload a file that can be used across various endpoints. The size of individual files can be a maximum of 512 MB. The Fine-tuning API only supports .jsonl files. Please contact us if you need to increase these storage limits.
post/files
Request
- Base URLhttps://api.mistral.ai/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
Response
OK
Example response
{
"filename": "[\"files_upload.jsonl\"]",
"object": "[\"file\"]"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking