Skip to contents

Lists vector IDs in a namespace of a serverless index. Returns paginated results with optional prefix filtering.

Usage

vector_list(
  index,
  namespace = "",
  prefix = NULL,
  limit = 100,
  pagination_token = NULL
)

Arguments

index

Name of the index

namespace

Namespace to list vectors from (default: "")

prefix

Optional prefix to filter vector IDs

limit

Maximum number of IDs to return per page (default: 100, max: 100)

pagination_token

Token for fetching the next page of results

Value

List with http response, content (vector IDs and pagination info), and status_code. Content includes: - vectors: list of vector objects with id field - pagination: list with next token if more results exist - namespace: the namespace queried

Details

This endpoint is only available for serverless indexes. For pod-based indexes, use vector_fetch() with known IDs or vector_query() with metadata filters.

Examples