---
title: "Fetch a value by key."
method: POST
path: "/v1/kv/get"
tags: ["Key-Value"]
---

# Fetch a value by key.

`POST /v1/kv/get`

## Request

- Base URL: `https://api.scalix.world`
- URL: `https://api.scalix.world/v1/kv/get`
- Auth: HTTP bearer

Reads a single key from the tenant's key-value store; returns `value: null` if absent.

## Request body

- KvKeyRequest: Body for `/v1/kv/get`, `/v1/kv/exists` — a single key.
  - `key` string, required

## Response `200`

The stored value (or `value: null` if absent)

## Other responses

- `401`: Missing or invalid API key
- `500`: Internal error

---

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