Actions24
- Memory Actions
- Entity Actions
- Organization Actions
- Project Actions
Memory → List Multiple
AI-generatedSummary
List memories from Mem0, optionally filtered by user, agent, application, or session identifiers.
Inputs
- authType — Authentication type: cloud (Mem0.ai) or self-hosted instance
- userId — Unique user identifier. When provided, API uses /v1/memories/user/{userId} endpoint; otherwise /v1/memories. Filters memories by user.
- agentId — Identifier of the AI agent/assistant. Passed as query parameter agent_id.
- appId — Application or system context identifier. Passed as query parameter app_id.
- runId — Session or run identifier. Passed as query parameter run_id. Groups memories from the same conversation.
Output shape
Array of memory objects as returned by the Mem0 API.
Each item in the returned array represents one memory. If the API returns a single object, it is wrapped as a single-element array.
Examples
Example 1: List all memories for a specific user
Set userId to the desired user identifier; leave other optional parameters empty.
Example 2: List memories filtered by agent and session
Set agentId and runId to respective identifiers; userId may be omitted.