Sessions & Agents
Memory Operations

Recall the most recently stored memories.

Returns memories sorted by created_at descending (newest first). Optionally filter by memory type.

Requires:

  • X-Session-Token: {session_token}

The session must be for the specified agent_id.

post/api/v2/agents/{agent_id}/recall/recent

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

limitinteger nullable

Max results

typestring[] nullable

Memory type filters

tagsstring[] nullable

Tag filters

status'all' | 'active' | 'expired'

Lifecycle filter: 'all' (default) returns active and expired memories together so callers can label them, 'active' or 'expired' narrows to one.

sourcestring nullable

Slug of the AI tool making this call (e.g. 'claude-code', 'cursor', 'copilot') for session and connection attribution.

Response

Successful Response

agent_idstring required
session_idstring required
countinteger required
total_availableinteger nullable
temporal_modestring required
as_of_datestring nullable
since_datestring nullable

Changes