v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0172165343.2 KB
Cache

Cache Get

Cache Get

post/api/v1.cache.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