docs: add filtered writes documentation#834
Merged
Merged
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
supermemory-app | 1f2b5df | Commit Preview URL Branch Preview URL |
May 15 2026, 02:56 PM |
Dhravya
approved these changes
May 15, 2026
Merge activity
|
### TL;DR Documents the new `filterByMetadata` parameter for the memory ingestion API, added in [supermemoryai/mono#1283](supermemoryai/mono#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](supermemoryai/mono#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.
dc4ac24 to
1f2b5df
Compare
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
supermemory-mcp | 1f2b5df | May 15 2026, 02:55 PM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR
Documents the new
filterByMetadataparameter for the memory ingestion API, added in supermemoryai/mono#1283.What changed?
add-memories.mdxpage explaining how to scope memory context during ingestionfilterByMetadatato the Parameters table with a link to the new sectionKey documentation points
Related
Session Details
(aside)to your comment to have me ignore it.