v1

latestOpenAPI 3.0.3CC BY 4.0 (data endpoints)2026-07-1318320227.3 KB
Agent Memory

Store encrypted key-value pair

Store or update a value in agent's encrypted memory. NaCl secretbox encrypted at rest. 1MB quota per agent, 64KB max per value.

put/v1/agent/memory/{ns}/{key}

Path parameters

nsstring required

Namespace

keystring required

Request body

{"stackTrail":"paths:/v1/agent/memory/{ns}/{key}:put:requestBody:content:application/json:schema:properties:value","oasType":"schema","type":"unknown","description":"Value to store (string, number, boolean, or object)"}
value_type'string' | 'json' | 'number' | 'boolean'
ttlinteger

Time-to-live in seconds

client_noncestring

Client-side encryption nonce passthrough

Response

Value stored