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: "<id>",
      object: "vector_store",
      createdAt: 427298,
      name: "<value>",
      usageBytes: 206969,
      fileCounts: {
        inProgress: 462505,
        completed: 156749,
        failed: 176251,
        cancelled: 719879,
        total: 515581,
      },
      status: "in_progress",
      lastActiveAt: 175393,
      metadata: {
        "key": 7201.99,
      },
      lastUsedAt: null,
    },
  ],
  firstId: "<id>",
  lastId: "<id>",
  hasMore: false,
};

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.