VectorStoreFileBatch
A batch of files attached to a vector store.
Example Usage
typescript
import { VectorStoreFileBatch } from "@meetkai/mka1/models/components";
let value: VectorStoreFileBatch = {
id: "<id>",
object: "vector_store.file_batch",
createdAt: 860481,
vectorStoreId: "<id>",
status: "completed",
fileCounts: {
inProgress: 462505,
completed: 156749,
failed: 176251,
cancelled: 719879,
total: 515581,
},
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✔️ | The identifier, which can be referenced in API endpoints. |
object | "vector_store.file_batch" | ✔️ | The object type, which is always 'vector_store.file_batch'. |
createdAt | number | ✔️ | The Unix timestamp (in seconds) for when the vector store files batch was created. |
vectorStoreId | string | ✔️ | The ID of the vector store that the File is attached to. |
status | components.VectorStoreFileBatchStatus | ✔️ | The status of the vector store files batch. 'in_progress' means files are being processed, 'completed' means all files have been processed, 'cancelled' means the batch was cancelled, 'failed' means the batch failed. |
fileCounts | components.FileCounts | ✔️ | File processing status counts. |