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/v1/files
Request
- Base URLhttps://api.mistral.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
Response
OK
Example response
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f09",
"object": "file",
"bytes": 13000,
"created_at": 1716963433,
"filename": "files_upload.jsonl"
}Changes
- warning
added the new
agentic_safetyenum value to theresponse property for the response status - info
added the new
agentic_safetyenum value to the request property
- warning
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info