---
title: "Get a KV entry by key (namespace resolved from request headers)"
method: GET
path: "/api/kv/{key}"
tags: ["KV"]
---

# Get a KV entry by key (namespace resolved from request headers)

`GET /api/kv/{key}`

## Path parameters

- `key` string, required

## Response `200`

KV entry

## Other responses

- `400` — Validation error or unresolvable namespace
- `404` — KV entry not found or expired

---

[API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/revisions/92a1dcbd2fc7?raw)
