/vector_stores/{vector_store_id}/file_batchesCreate a vector store file batch
Creates a batch to attach files to a vector store for processing. Provide file_ids or files, and optionally set a shared chunking strategy or shared attributes when using file_ids. Use per-file settings in files when different files need different attributes or chunking strategies.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
File batch configuration. Provide file_ids or files; both arrays allow 1 to 2,000 entries.
A 400 is returned when the batch input is invalid, the store has expired, or a file limit would be exceeded; a 404 is returned when the vector store is not found. A 409 indicates the store is temporarily unavailable or was modified concurrently; a 429 indicates the request rate limit was exceeded, and a 500 indicates the files could not be attached. The vector_store_id path parameter must identify the store. Provide at least one of file_ids or files; each array must contain 1 to 2,000 entries, and each object in files must include file_id.