Skip to content

VectorStoreList

A list of vector stores.

Example Usage

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

let value: VectorStoreList = {
  object: "list",
  data: [
    {
      id: "vs_abc123",
      object: "vector_store",
      createdAt: 1704067200,
      name: "Product Documentation",
      usageBytes: 1024000,
      fileCounts: {
        inProgress: 0,
        completed: 5,
        failed: 0,
        cancelled: 0,
        total: 5,
      },
      status: "completed",
      lastActiveAt: 1704153600,
      metadata: {
        "department": "engineering",
      },
      lastUsedAt: 427298,
    },
  ],
  firstId: "<id>",
  lastId: "<id>",
  hasMore: true,
};

Fields

FieldTypeRequiredDescription
object"list"✔️The object type, which is always 'list'.
datacomponents.VectorStore[]✔️Array of vector store 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.