v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0172165343.2 KB
Key Value Store

Kv Get

KV Get

post/api/v1.kv.get

Request body

namespacestring nullable
keystring required
consistency'strong' | 'weak'

Consistency level for reads.

Strong consistency (also known as linearizability) guarantees that a read will see all previous writes. Weak consistency allows stale reads, but can save one or more round trip to the leader.

Example request

{
  "namespace": "some_namespace",
  "key": "some_key"
}

Response

expiryinteger nullable

Time of expiry

valueinteger[] nullable
versioninteger required

Opaque version token for optimistic concurrency control. Pass as version in a subsequent set to perform a conditional write.