---
title: "List all KV buckets"
method: GET
path: "/storage/kv"
tags: ["KV Buckets"]
---

# List all KV buckets

`GET /storage/kv`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/storage/kv`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-5/docs/storage/kv/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves a list of all key-value buckets in the system

## Response `200`

Successfully retrieved KV bucket list

- BucketListResponse
  - `body` object
    - `results` BucketListItem[]: List of kv buckets
      - `name` string
      - `description` string
      - `entry_total` integer
      - `metadata` object
      - `placement` object
        - `cluster` string
        - `tags` string[]
      - `created` string, date-time
    - `results_total` integer: Total number of kv buckets returned
  - `metadata` Metadata
    - `bucket` string: Bucket name
    - `duration` string: Operation duration
    - `field` string: Search field
    - `hits` integer: Number of hits
    - `index_duration` string: Index search duration
    - `index_hits` integer: Number of index hits
    - `index_name` string: Index name
    - `index_partitions` integer: Number of index partitions
    - `key` string: Entry key
    - `limit` integer: Query limit
    - `partitions` integer: Number of partitions
    - `search` string: Search term
    - `stream` string: Stream name
    - `subject` string: Subject pattern

## Other responses

- `401`: Unauthorized
- `500`: Internal Server Error

## Changes

- **2025-07-04** `d566a61279be`: 17 info
  - added the optional property `body/results/items/created` to the response with the `200` status
  - added the optional property `body/results/items/entry_total` to the response with the `200` status
  - added the optional property `body/results/items/metadata` to the response with the `200` status
  - added the optional property `body/results/items/placement` to the response with the `200` status
  - …13 more

[Operation history](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-5/changes/storage/kv/get.md)

---

[API](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-5.md) - [All operations](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-5/llms.txt) - [OpenAPI document](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-5/revisions/104591eadd10?raw)
