v27

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-2193427579.9 KB
VectorIO

Create a vector store file batch (OpenAI-compatible).

Create a vector store file batch (OpenAI-compatible).

post/v1/vector_stores/{vector_store_id}/file_batches

Path parameters

vector_store_idstring required

The vector store identifier.

The vector store identifier.

Request body

file_idsstring[]
attributesobject nullable

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

The created file batch.

idstring required
object'vector_store.files_batch'
created_atinteger required
vector_store_idstring required
status'in_progress' | 'completed' | 'cancelled' | 'failed' required