Skip to content

docs: update delete_all to reflect filter validation breaking change#4103

Merged
whysosaket merged 2 commits intomem0ai:mainfrom
whysosaket:docs/update-delete-all-docs
Feb 25, 2026
Merged

docs: update delete_all to reflect filter validation breaking change#4103
whysosaket merged 2 commits intomem0ai:mainfrom
whysosaket:docs/update-delete-all-docs

Conversation

@whysosaket
Copy link
Copy Markdown
Member

Summary

  • delete_all() previously wiped all project memories when called with no filters. It now raises a validation error if no
    filters are provided — this is a breaking change.
  • Wildcard ("") support has been added as the explicit opt-in path for bulk deletion: pass "" for a filter to delete
    all memories for that entity type, or set all four filters to "*" for a full project wipe.
  • These changes apply to the Platform API only (not OSS).

Files changed

  • docs/core-concepts/memory-operations/delete.mdx — added breaking change warning, wildcard examples, and a new
    "Wildcard deletes" subsection
  • docs/migration/api-changes.mdx — marked delete_all() as a breaking change with correct before/after behavior and code
    examples
  • docs/platform/features/async-client.mdx — added a note explaining the no-filter error and wildcard semantics
  • docs/openapi.json — updated endpoint description, all filter parameter descriptions, fixed bare cURL sample (no filter
    would now error), added wildcard examples to Python/JS/cURL code samples, and updated DeleteMemoriesInput schema
    descriptions

@whysosaket whysosaket merged commit 93c7203 into mem0ai:main Feb 25, 2026
1 of 2 checks passed
@whysosaket whysosaket deleted the docs/update-delete-all-docs branch February 25, 2026 15:40
jamebobob pushed a commit to jamebobob/mem0-vigil-recall that referenced this pull request Mar 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants