v21

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

Delete Memory

Delete one memory from the active agent namespace.

Requires:

  • X-Session-Token: {session_token}

The session must be for the specified agent_id.

delete/api/v2/agents/{agent_id}/memories/{memory_id}

Path parameters

agent_idstring required
memory_idstring required

Headers

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

Cookies

memanto_session_tokenstring nullable

Response

Successful Response

{"stackTrail":"paths:/api/v2/agents/{agent_id}/memories/{memory_id}:delete:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}