Enhanced Filtering Capabilities: Major improvements to the search filtering API with new string_contains filter type for partial string matching, ignoreCase option for case-insensitive string operations, and improved negation support across all filter types including proper numeric equality negation. The implementation also includes enhanced SQL injection protection and wildcard escaping for improved security.
Forgotten Memories Search: New include.forgottenMemories parameter in v4 search API allows searching through memories that have been explicitly forgotten or expired. Set to true to include forgotten memories in search results, helping recover previously archived information.
Enhanced Delete API:DELETE /v3/documents/:id endpoint now supports both internal document ID and customId for flexible document deletion. Developers can now delete documents using the same customId provided during creation, improving API consistency with other endpoints.
API Terminology Clarification: Refined API terminology from “memories” to “documents” for improved developer clarity. New /v3/documents/* endpoints provide more intuitive naming while maintaining full backward compatibility via automatic redirects from /v3/memories/*. No action required from existing integrations.
Documentation v2.0: Complete rewrite with comprehensive API references, cookbook recipes, and production-ready examples for TypeScript, Python, and cURL
AI SDK Integration: New @supermemory/tools/ai-sdk package for native Vercel AI SDK integration with memory tools and infinite chat capabilities
Bulk Delete Endpoint: New DELETE /v3/documents/bulk endpoint for efficient memory management