Skip to content

VectorStoreFileList

A list of vector store files.

Example Usage

typescript
import { VectorStoreFileList } from "@meetkai/mka1/models/components";

let value: VectorStoreFileList = {
  object: "list",
  data: [
    {
      id: "<id>",
      object: "vector_store.file",
      usageBytes: 911720,
      createdAt: 477527,
      vectorStoreId: "<id>",
      status: "completed",
      lastError: {
        code: "server_error",
        message: "<value>",
      },
    },
  ],
  firstId: "<id>",
  lastId: "<id>",
  hasMore: false,
};

Fields

FieldTypeRequiredDescription
object"list"✔️The object type, which is always 'list'.
datacomponents.VectorStoreFile[]✔️Array of vector store file objects.
firstIdstring✔️The ID of the first object in the list.
lastIdstring✔️The ID of the last object in the list.
hasMoreboolean✔️Whether there are more objects available.