Advanced / Operation picker
Updating Memories
Records change. Pick the operation that matches your intent — reading, editing, consolidating, or removing — and keep the application in control.
Picker
Match the intent to the operation
ms.get(4821)
- Returns
- Returns the record with its text, tags, importance, metadata, and timestamps.
- Watch out
- Start here. Most "wrong result" reports are answered by reading the record.
Practice
Run maintenance safely
- Do maintenance in the same scope that wrote the record, never with a broader key.
- Read before you write: get() first, then update() with only the fields that change.
- Batch carefully — a bulk re-tag with the wrong filter is hard to undo.
- Log the memory id and the reason for every edit or removal on your side.
Copy and run
Copy a working example
current = ms.get(4821)print(current.tags, current.importance)updated = ms.update(4821, tags=["preference", "verified"], importance=0.9)print(updated.updated_at)
Was this page helpful?