Skip to content

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

FieldTypeRequiredDescription
idstring✔️The identifier, which can be referenced in API endpoints.
object"vector_store.file_batch"✔️The object type, which is always 'vector_store.file_batch'.
createdAtnumber✔️The Unix timestamp (in seconds) for when the vector store files batch was created.
vectorStoreIdstring✔️The ID of the vector store that the File is attached to.
statuscomponents.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.
fileCountscomponents.FileCounts✔️File processing status counts.