Skip to main content
POST

Overview

Stores one memory in the agent’s Moorcheh namespace scoped by the active session. Fields are sent as JSON in the request body only (no query-string parameters).

Authentication

API clients do not send an API key or Authorization header.
string
required
Session token from Activate Agent. Must match agent_id.
string
required
Must be application/json

Path Parameters

string
required
The unique identifier of the agent.

Body

string
required
Memory text to store (max length enforced by the server; typically up to 10,000 characters).
string
default:"fact"
Memory category (e.g. fact, preference, instruction, decision, goal, …). Must be one of the supported Memanto memory types.
string
Optional title (max 100 characters). If omitted, a title is derived from the content.
number
default:"0.8"
Confidence between 0.0 and 1.0.
array
Optional list of tag strings.
string
default:"agent"
Source label for the memory (e.g. agent, user).
string
default:"explicit_statement"
How the memory was obtained: explicit_statement, inferred, observed, validated, corrected, imported.

Next Steps