mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-05-17 03:56:18 +00:00
### TL;DR Documents the new `filterByMetadata` parameter for the memory ingestion API, added in [supermemoryai/mono#1283](https://github.com/supermemoryai/mono/pull/1283). ### What changed? - Added a new "Filtered Writes" section to the `add-memories.mdx` page explaining how to scope memory context during ingestion - Added `filterByMetadata` to the Parameters table with a link to the new section - Included TypeScript, Python, and cURL examples - Documented scalar vs array value matching semantics (AND/OR logic) ### Key documentation points - The metadata itself is still written to the document, but memories are only built on top of existing memories matching the filter - Scalar values match exactly, array values create OR conditions - Multiple keys are combined with AND logic ### Related - Implementation PR: [supermemoryai/mono#1283](https://github.com/supermemoryai/mono/pull/1283) --- **Session Details** - Session: [View Session](https://supermemory.us1.vorflux.com/agent-sessions/14d33783-50b0-4fc8-8e0f-abc6346336f1) - Requested by: Dhravya Shah (dhravya@supermemory.com) - Address comments on this PR. Add `(aside)` to your comment to have me ignore it. |
||
|---|---|---|
| .. | ||
| .cursor/rules | ||
| add-memories | ||
| ai-sdk | ||
| changelog | ||
| concepts | ||
| connectors | ||
| cookbook | ||
| deployment | ||
| images | ||
| integrations | ||
| list-memories | ||
| logo | ||
| memory-api | ||
| memory-graph | ||
| memory-router | ||
| memorybench | ||
| migration | ||
| model-enhancement | ||
| openai-sdks | ||
| overview | ||
| search | ||
| smfs | ||
| snippets | ||
| supermemory-mcp | ||
| update-delete-memories | ||
| user-profiles | ||
| .gitignore | ||
| add-memories.mdx | ||
| analytics.mdx | ||
| authentication.mdx | ||
| docs.json | ||
| document-operations.mdx | ||
| favicon.png | ||
| install.md | ||
| intro.mdx | ||
| introduction.mdx | ||
| memory-operations.mdx | ||
| n8n.mdx | ||
| package.json | ||
| quickstart.mdx | ||
| README.md | ||
| search.mdx | ||
| style.css | ||
| test.py | ||
| test.ts | ||
| user-profiles.mdx | ||
| vibe-coding.mdx | ||
| zapier.mdx | ||