---
title: "Check if a key exists."
method: POST
path: "/v1/kv/exists"
tags: ["Key-Value"]
---

# Check if a key exists.

`POST /v1/kv/exists`

## Request

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

Returns whether a key is present in the tenant's key-value store.

## Request body

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

## Response `200`

`{ exists: bool }`

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