Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

mnemo.forget

Remove or decay memories using various strategies.

Input Schema

FieldTypeRequiredDescription
memory_idsstring[]yesUUIDs of memories to forget
agent_idstringnoAgent identifier
strategystringnoForget strategy (see below)
criteriaobjectnoFilter criteria for bulk forget

Strategies

StrategyDescription
soft_deleteMark as deleted (default, recoverable)
hard_deletePermanently remove from storage
decayReduce importance using Ebbinghaus decay curve
consolidateMerge into a semantic summary
archiveMove to cold storage

Criteria (for bulk forget)

FieldTypeDescription
max_age_hoursnumberOnly forget memories older than this
min_importance_belownumberOnly forget memories below this importance
tagsstring[]Only forget memories with these tags

Response

FieldTypeDescription
forgottenstring[]UUIDs of successfully forgotten memories
errorsarray{ id, error } for any failures