Save agent memory (blind locker)
memory_savePersistent memory for your agent across sessions — save now, load in any later session.
You encrypt before saving; the store holds only ciphertext (blind custody) and signs a receipt over its hash — it cannot read your memory.
Saving uses your prepaid wallet; a new key's 50¢ starter credit covers
your first saves, and loading it back (memory_load) is free. blob_b64
is YOUR ciphertext as base64 — encrypt BEFORE saving; keys never transit,
contents are never logged, so a breach leaks only sealed boxes. Charged a
thin flat fee ONLY on durable store (empty/oversize/unencodable is
uncharged). ttl_seconds is clamped to [60s, 7d] and the effective
expires_at is returned. The receipt's content_hash is over YOUR
ciphertext, so you can prove what you stored without the store ever seeing
plaintext.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Your SNHP API key (a new key's 50c starter credit covers first saves). | |
| blob_b64 | Yes | YOUR ciphertext as base64 — encrypt BEFORE saving; the store holds only the sealed box and cannot read it. | |
| ttl_seconds | No | How long to keep it, clamped to [60s, 7 days]; the effective expiry is returned (optional). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| error | No | ||
| reason | No | ||
| ticket | No | ||
| charged | No | ||
| receipt | No | ||
| expires_at | No | ||
| size_bytes | No | ||
| ticket_hash | No | ||
| price_millicents | No |