Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The ID of the vector store for which to create a File Batch.
"vs_abc123"
Body
The chunking strategy used to chunk the file(s). If not set, will use the auto
strategy.
The default strategy. This strategy currently uses a max_chunk_size_tokens
of 800
and chunk_overlap_tokens
of 400
.
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters, booleans, or numbers.
Response
OK
A batch of files attached to a vector store.
The identifier, which can be referenced in API endpoints.
The object type, which is always vector_store.file_batch
.
vector_store.files_batch
The Unix timestamp (in seconds) for when the vector store files batch was created.
The ID of the vector store that the File is attached to.
The status of the vector store files batch, which can be either in_progress
, completed
, cancelled
or failed
.
in_progress
, completed
, cancelled
, failed