{"slug":"mem0-filter-syntax","source_name":"mem0-filter-syntax","name":"mem0 Filter Syntax","description":"Use when writing a mem0 memory retrieval call with the Python SDK (search / get_all): emit mem0's own filter grammar — bare AND/OR/NOT logical keys, bare in/gte/lte/gt/lt/contains/icontains/ne operators (no MongoDB $ prefixes), snake_case user_id/agent_id/app_id/run_id scopes, the \"*\" any-non-null wildcard, and top_k/threshold search args — which cheaper models replace with MongoDB syntax by default.","version":1,"lift":{"pass_rate_delta_pts":54.55,"pass_rate_pct":59.1,"total_cases":22,"passed_cases":13,"tokens_delta_pct":108.6,"turns_delta_pct":0,"verdict":"mixed","benchmark_model":"gemini-3.6-flash","grading_method":"judged","completed_at":"2026-07-29T02:57:01.758714+00:00"},"skill_score":0.7727,"benchmark_models":[{"model":"gemini-3.6-flash","headline":true,"delta_pts":54.55,"with_pass_pct":59.1,"without_pass_pct":4.5,"tokens_delta_pct":108.6,"turns_delta_pct":0,"total_cases":22,"cases_aggregated":22,"verdict":"mixed","never_hurt":true,"completed_at":"2026-07-29T02:57:01.758714+00:00","run_id":"16101257-b086-473d-bc2e-80eaa3d164d0","version_number":1,"is_latest_version":true,"gate":null},{"model":"gemini-3.5-flash","headline":false,"delta_pts":null,"with_pass_pct":null,"without_pass_pct":null,"tokens_delta_pct":727.3,"turns_delta_pct":0,"total_cases":24,"cases_aggregated":23,"verdict":"pass","never_hurt":true,"completed_at":"2026-07-09T23:53:16.810473+00:00","run_id":"10556fbb-0496-487a-89eb-b4ac7f901d95","version_number":1,"is_latest_version":true,"gate":"not_comparable"}],"trust":{"skill_safety":"passed","safety_status":"clean","intent_verdict":"safe","content_status":"clean","indexable":true},"license":null,"install_count":0,"manifest_hash":"8645998f2f8632db8e40e13abf047c6f1d1a02f6edc291200148ee3a132e9a06","raw_url":"https://app.decimal.ai/s/mem0-filter-syntax/SKILL.md","scorecard_url":"https://app.decimal.ai/skills/mem0-filter-syntax"}