---
title: "List vector IDs in a collection"
method: POST
path: "/vectors/list"
tags: ["Vectors"]
---

# List vector IDs in a collection

`POST /vectors/list`

## Request

- Base URL: `https://apipie.ai`
- URL: `https://apipie.ai/vectors/list`
- Auth: API key in header `Authorization`

Retrieves a list of vector IDs for the specified collection.

## Request body

- ListVectorIdsRequest
  - `collection_name` string
  - `limit` integer
  - `prefix` string
  - `pagination_token` string

## Response `200`

Vector IDs retrieved successfully

- ListVectorIdsResponse
  - `vector_ids` string[]
  - `next_pagination_token` string

## Other responses

- `400`: Bad request
- `404`: Collection not found
- `500`: Internal server error

---

[API](https://skmtc.dev/apipie/apis/introduction.md) · [All operations](https://skmtc.dev/apipie/apis/introduction/llms.txt) · [OpenAPI document](https://skmtc.dev/apipie/apis/introduction/revisions/f8386be4eb3f?raw)
