Make Platform Memory Operations Smarter
Prerequisites
- Platform workspace with API key
 - Python 3.10+ and Node.js 18+
 - Async memories enabled in your dashboard (Settings → Memory Options)
 
Need a refresher on the core concepts first? Review the Add Memory overview, then come back for the advanced flow.
Install and authenticate
- Python
 - TypeScript
 
1
Install the SDK with async extras
2
Export your API key
3
Create an async client
Add memories with metadata and graph context
- Python
 - TypeScript
 
1
Record conversations with metadata
Successful calls return memories tagged with the metadata you passed. In the dashboard, confirm a graph edge between “Morgan” and “Tokyo” and verify the 
trip=japan-2025 tag exists.Retrieve and refine
- Python
 - TypeScript
 
1
Filter by metadata + reranker
2
Update a memory inline
Need to pause graph writes on a per-request basis? Pass 
enableGraph: false (TypeScript) or enable_graph=False (Python) when latency matters more than relationship building.Clean up
- Python
 - TypeScript
 
1
Delete scoped memories
Quick recovery
Missing required key enableGraph: update the SDK tomem0ai>=0.4.0.Graph backend unavailable: retry withenableGraph=Falseand inspect your graph provider status.- Empty results with filters: log 
filtersvalues and confirm metadata keys match (case-sensitive). 
Metadata keys become part of your filtering schema. Stick to lowercase snake_case (
trip_id, preferences) to avoid collisions down the road.