---
title: "Get a key's value"
method: GET
path: "/storage/kvs/{id}/keys/{key}"
tags: ["kv keys"]
---

# Get a key's value

`GET /storage/kvs/{id}/keys/{key}`

Returns the raw stored value for a key. The response body is the value exactly as it was written; the `Content-Type` header echoes the value's stored content type (defaults to `application/octet-stream`).

## Path parameters

- `id` string, uuid, required
- `key` string, required

## Response `200`

Value retrieved successfully. The `Content-Type` header is the value's stored content type (defaults to `application/octet-stream`).

## Other responses

- `400` — Bad request — invalid `id` or key name
- `401` — Unauthorized
- `404` — Key or namespace not found
- `409` — Conflict — the namespace is not ready (`status` is not `provision_ok`)
- `500` — Internal server error

## Changes

- **2026-07-23** `eb02d7e7280b` — 1 info
  - the endpoint scheme security `bearerAuth` was removed from the API
- **2026-07-03** `fb18962b46fa` — 1 breaking, 1 info
  - removed the media type `*/*` for the response with the status `200`
  - added the media type `application/octet-stream` for the response with the status `200`
- **2026-07-02** `224ed0d8a5c3` — 1 breaking, 1 info
  - removed the media type `application/octet-stream` for the response with the status `200`
  - added the media type `*/*` for the response with the status `200`

[Change history](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/changes/storage/kvs/:id/keys/:key/get.md)

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/revisions/eb02d7e7280b?raw)
