---
title: "List keys from key-value store"
method: GET
path: "/api/{org_id}/kv"
tags: ["KV"]
---

# List keys from key-value store

`GET /api/{org_id}/kv`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/kv`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/kv/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves a list of all keys stored in the organization's key-value store. You can optionally filter keys by providing a prefix to only return keys that start with specific characters. This is useful for organizing related configuration settings or browsing available stored data.

## Path parameters

- `org_id` string, required

## Query parameters

- `prefix` string

## Response `200`

Success

- string[]

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
