Create a vector store file batch.
Create a vector store file batch.
Attaches many already-uploaded files to a vector store as a single trackable, cancellable job,
ingesting each one through the same pipeline used by POST /v1/vector_stores/{vector_store_id}/files.
Needs user bearer token in authorization header.
AuthorizationBearer <token>vector_store_id*stringThe ID of the vector store to use.
^[0-9a-fA-F]{24}$OpenAI-Organization?|Organization Id from OpenAi compatible endpoint. Required to organization access or project access (with OpenAI-Project header) when logged as User or Admin User.
OpenAI-Project?|Project Id from OpenAi compatible endpoint. Required to project access for organization api key or User / Admin User access with OpenAI-Organization
application/json- body
file_ids?array<>|A list of File IDs to add. Mutually exclusive with files. attributes/chunking_strategy/image_processing_mode apply to all.
files?array<>|Files with optional per-file attributes/chunking_strategy/image_processing_mode overrides. Mutually exclusive with file_ids.
attributes?|Set of 16 key-value pairs that can be attached to an object. Keys are strings with a maximum length of 64 characters. Values are strings (max 512 chars), booleans, or numbers.
{}chunking_strategy?|nullimage_processing_mode?ImageProcessingModeWhether images in the file are described by a vision model before chunking.
"ignore""ignore""description"Successful Response
application/json- response
project_id*stringA 24-character hexadecimal MongoDB ObjectId string.
^[0-9a-fA-F]{24}$vector_store_id*stringA 24-character hexadecimal MongoDB ObjectId string.
^[0-9a-fA-F]{24}$object?stringThe object type, which is always vector_store.files_batch.
"vector_store.files_batch"id*stringThe file batch identifier, which can be referenced in the API endpoints.
^[0-9a-fA-F]{24}$created_at*integerThe Unix timestamp (in seconds) for when the file batch was created.
status*VectorStoreFileBatchStatusThe status of the vector store file batch, which can be one of: ['in_progress', 'completed', 'cancelled', 'failed'].
"in_progress""completed""cancelled""failed"file_counts*Detailed counts of the batch's files by status.
curl -X POST 'https://deepfellow-server-host/v1/vector_stores/5eb7cf5a86d9755df3a6c593/file_batches' \ -H 'Content-Type: application/json' \ -d '{}'{ "project_id": "5eb7cf5a86d9755df3a6c593", "vector_store_id": "5eb7cf5a86d9755df3a6c593", "object": "vector_store.files_batch", "id": "5eb7cf5a86d9755df3a6c593", "created_at": 0, "status": "in_progress", "file_counts": { "cancelled": 0, "completed": 0, "failed": 0, "in_progress": 0, "total": 0 }}We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.