KV put
kv_putUse when an agent needs memory between runs without an account: store value (text or JSON, up to 8 KB) under key in a private namespace keyed to the wallet that pays. Returns the exact paid x402 request for your input (POST /kv/put, $0.001 per call), with the response schema and an example; POST that JSON body to the URL with an x402 or MPP client to get the data. Bad input is refused before any charge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key, 1-128 characters from A-Z a-z 0-9 . _ : / - | |
| ttl | No | Seconds to keep the key | |
| value | Yes | Text, or JSON stored as text (max 8 KB) |