memories
DELETE /v1/memories/
Changed onDelete memories by filter. At least one filter is required. Previously, omitting all filters silently deleted everything; now it returns a validation error.
Request
- Base URLhttps://api.mem0.ai
- URLhttps://api.mem0.ai/v1/memories/
- AuthAPI key in header Authorization
Query parameters
user_idstring
Filter by user ID. Pass * to delete memories for all users.
agent_idstring
Filter by agent ID. Pass * to delete memories for all agents.
app_idstring
Filter by app ID. Pass * to delete memories for all apps.
run_idstring
Filter by run ID. Pass * to delete memories for all runs.
metadataobject
Filter memories by metadata (JSON string).
org_idstring
Filter memories by organization ID.
project_idstring
Filter memories by project ID.
Response
Deletion of memories has been queued for background (async) execution.
Example response
{
"message": "Delete in progress. This may take some time."
}Changes
- breaking
removed the success response with the status
- info
added the success response with the status
- breaking