files
List Files
Changed onReturns a list of files that belong to the user's organization.
get/files
Request
- Base URLhttps://api.mistral.ai/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageinteger
page_sizeinteger
sample_typeSample Type[] nullable
sourceSource[] nullable
searchstring nullable
purpose'fine-tune' | 'batch'
Response
OK
Example response
{
"data": [
{
"filename": "[\"files_upload.jsonl\"]",
"object": "[\"file\"]"
}
]
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking