NATS Key-Value Store API

The NATS Key-Value Store API is a JetStream-backed abstraction that provides immediately consistent, persistent associative array semantics. Clients can create buckets, get, put, delete, and watch keys, and receive real-time change notifications. Buckets are implemented as JetStream streams with the KV_ prefix.

API entry from apis.yml

apis.yml Raw ↑
aid: nats:nats-kv-api
name: NATS Key-Value Store API
description: The NATS Key-Value Store API is a JetStream-backed abstraction that provides immediately
  consistent, persistent associative array semantics. Clients can create buckets, get, put, delete, and
  watch keys, and receive real-time change notifications. Buckets are implemented as JetStream streams
  with the KV_ prefix.
humanURL: https://docs.nats.io/nats-concepts/jetstream/key-value-store
tags:
- JetStream
- Key-Value
- Storage
properties:
- url: https://docs.nats.io/nats-concepts/jetstream/key-value-store
  type: Documentation
- url: https://docs.nats.io/using-nats/developer/develop_jetstream/kv
  type: Reference
- url: properties/nats-kv-schema.json
  type: JSONSchema