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

# Get value from key-value store

`GET /api/{org_id}/kv/{key}`

## 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/{key}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/kv/:key/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves the stored value for a specific key from the organization's key-value store. Returns the raw text value if the key exists, or a 404 error if the key is not found. Useful for storing and retrieving configuration settings, application state, or other simple data.

## Path parameters

- `org_id` string, required
- `key` string, required

## Response `200`

Success

## Other responses

- `404`: NotFound

---

[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)
