Sessions & Agents
Memory Operations

Extract Memories From Conversation

Changed on

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

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

agent_idstring required

Headers

x-session-tokenstring nullable
authorizationstring 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

sourcestring nullable

Optional calling tool or writer slug (e.g. 'cursor', 'copilot', 'claude-code') to attribute the extraction.

Response

Successful Response

unknown required

Changes