Skip to content

docs: add Filtered Writes section to add-memories page#834

Open
vorflux[bot] wants to merge 1 commit intomainfrom
vorflux/docs-filtered-writes
Open

docs: add Filtered Writes section to add-memories page#834
vorflux[bot] wants to merge 1 commit intomainfrom
vorflux/docs-filtered-writes

Conversation

@vorflux
Copy link
Copy Markdown
Contributor

@vorflux vorflux bot commented Apr 7, 2026

TL;DR

Documents the new filterByMetadata parameter for the memory ingestion API, added in 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


Session Details

- Document the new filterByMetadata parameter for scoping memory context
- Add filterByMetadata to the Parameters table
- Include TypeScript, Python, and cURL examples
- Explain scalar vs array value matching semantics
@graphite-app graphite-app bot requested a review from Dhravya April 7, 2026 23:18
@mintlify
Copy link
Copy Markdown
Contributor

mintlify bot commented Apr 7, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
supermemory 🟢 Ready View Preview Apr 7, 2026, 11:19 PM

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
supermemory-app dc4ac24 Commit Preview URL

Branch Preview URL
Apr 07 2026, 11:17 PM

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.

0 participants