---
title: "List vaults"
method: GET
path: "/vault/list"
tags: ["Vault"]
---

# List vaults

`GET /vault/list`

This endpoint lists all collections, and how many documents are in each collection.
All documents that do not have a collection assigned are in the `null` collection.

## Query parameters

- `cursor` string, nullable
- `size` integer

## Response `200`

Successful Response

- CursorPageCollection
  - `items` Collection[], required
    - `collection` string, nullable, required
    - `document_count` integer, required
  - `next_cursor` string, nullable, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/hyperspell/apis/hyperspell-api.md) · [All operations](https://skmtc.net/hyperspell/apis/hyperspell-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hyperspell/hyperspell-api/revisions/5721acd588e6/schema)
