Create a memory
Adds one memory to a curated store. Does not overwrite: changing an existing path is an update, so a retried request cannot destroy content. An agent’s learned memory store is not hand-editable; add your own material to a curated store instead.
Authorizations
A Recursion API key, created in the console under API keys.
Path Parameters
Memory store id (UUID) as returned by createMemoryStore or listMemoryStores.
Body
Fields for creating one memory. Path, content and summary are all required; omitting any of them is a 400.
Response
One path-addressed document in a memory store. The path hierarchy is the routing structure an agent browses, so it carries the meaning a per-memory prompt description otherwise would.
One path-addressed document in a memory store. The path hierarchy is the routing structure an agent browses, so it carries the meaning a per-memory prompt description otherwise would.
Size of the content in bytes.
Server-assigned RFC 3339 timestamp of when the memory was created.
Server-assigned id of the memory.
Store this memory belongs to.
Organization that owns this record. Resolved from the API key; never accepted from the caller.
Address of the memory within its store, e.g. /conventions/testing.md. The path hierarchy is the routing structure an agent browses, so it carries the meaning a per-memory prompt description otherwise would.
active memories are offered to sessions; retired and superseded memories are kept for history, so later learning runs can see what was already tried.
active, retired, superseded Server-assigned RFC 3339 timestamp of the most recent change.
Full text of the memory. Returned when reading one memory, omitted from listings.
SHA-256 of the content. Pass it back as an update precondition to avoid clobbering a concurrent write.
Set when the memory was deleted. A deleted path may be recreated.
Version id of the current content.
Reflection run that wrote this memory. Empty for a memory a human seeded.
One-line description, shown in search results and the console. Not disclosed in the system prompt.
Memory that replaced this one, when a learning run superseded it.