userId parameter. When userId is omitted, the server resolves it from the authenticated principal.
All requests require a valid bearer token in the Authorization header.
Add a memory
string
required
The fact or preference to store. Write it as a natural language statement, e.g.
"User prefers responses in bullet-point format.". The content field must not be blank.string
Confirmation that the memory was saved.
Search memories
string
required
The natural language query to search for relevant memories.
string[]
Array of memory content strings, ranked by semantic similarity to the query.
Delete memories
204 No Content on success.
string[]
required
Array of memory document IDs to delete.
204 No Content with an empty body on success.
Optimize memories
jobId immediately.
string
The user whose memories to optimize. Defaults to the authenticated principal when omitted.
string
The background job identifier. The optimization runs asynchronously — no webhook or polling endpoint is currently exposed for this job type.
Memory optimization runs asynchronously. If an optimization pass is already in progress for the same user when you call this endpoint, the system returns immediately without queuing a duplicate job.
Memory statistics
string
The user whose statistics to retrieve. Defaults to the authenticated principal.
Memory topics
string
The user whose topics to retrieve. Defaults to the authenticated principal.
string[]
Array of topic label strings, e.g.
"work preferences", "communication style", "domain expertise".