๐Ÿ—๏ธ

KV Memory Set API

Store key-value pairs in persistent memory, isolated per API key. Values can be any JSON-serializable data. Embeddings are auto-generated for semantic search.

API Docs $0.001 / set

About this tool

Persist any key-value pair associated with your API key. Values are stored in a SQLite database and automatically indexed with OpenAI embeddings so you can later retrieve them by semantic search via /memory/kv/search. Namespace support lets you organize data into logical buckets.

Quick Start

curl -X POST https://api.iteratools.com/memory/kv/set \ -H "Authorization: Bearer YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{ "key": "user:preferences", "value": {"theme": "dark", "language": "en"}, "namespace": "myapp" }'

Response

{"ok": true, "data": {"key": "user:preferences", "namespace": "myapp", "set": true}}

Parameters

FieldTypeDescription
keystring *Unique key within namespace
valueany *Any JSON-serializable value
namespacestringLogical namespace (default: "default")

Pricing

$0.001 per set via x402 micropayment on Base (USDC).

Full Documentation Browse All Tools