stores
Add files to store in a batch
Changed onAdd already uploaded files to a store in one call, for backfills.
Each item takes one token from a rate limit of its own, at the same limits as file uploads. A batch never replaces a file: one already in the store (same file ID or external ID), in any status, comes back with store_file_already_exists_error. To retry a failed file, delete it first; to update a file, use the single-file endpoint. Each item is checked on its own: one rejected item is reported in data without failing the others.
post/v1/stores/{store_identifier}/file_batches
Request
- Base URLhttps://api.mixedbread.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Request body
Response
The outcome of each file
Example response
{
"data": [
{
"error": {
"code": "store_file_already_exists_error"
}
}
]
}Changes
- info
added the optional property
//to the response with the status
- info
- warning
removed the optional property
//from the response with the status
- warning