Mem0 icon

Mem0

Interact with the Mem0 API - intelligent memory layer for AI

Memory → Delete All

AI-generated

Summary

Delete all memories, optionally filtered by user, agent, application, or session.

Inputs

  • authType (required) — Choose between Mem0 cloud or your own instance. Determines authentication credentials and base URL.
  • userId — Unique user identifier to filter memories by user. Optional; only included in query if provided.
  • agentId — Identifier of the AI agent/assistant to filter memories by. Optional; only included in query if provided.
  • appId — Application or system context identifier to filter memories by. Optional; only included in query if provided.
  • runId — Session/run identifier to group memories from the same conversation. Optional; only included in query if provided.

Output shape

json

API response from Mem0 confirming deletion. Exact shape depends on cloud or self-hosted configuration.

Examples

Example 1: Delete all memories for a specific user

authType: cloud, userId: user_123

Links

Discussion