v21

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-044334120.9 KB
Sessions & Agents
Memory Operations

Extract Memories From Conversation

Extract typed memory candidates from chat-style conversation turns.

Requires:

  • X-Session-Token: {session_token}

When dry_run is true, candidates are returned without writing. Otherwise the candidates are persisted through the same batch memory path used by /batch-remember.

post/api/v2/agents/{agent_id}/remember/extract

Path parameters

agent_idstring required

Headers

x-session-tokenstring nullable
X-Api-Keystring nullable

Cookies

memanto_session_tokenstring nullable

Request body

dry_runboolean

When true, return candidates without storing them

max_memoriesinteger

Maximum candidate memories to extract

ai_modelstring nullable

Optional model override for extraction

Response

Successful Response

{"stackTrail":"paths:/api/v2/agents/{agent_id}/remember/extract:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}