Skip to main content
Marks a memory as deleted. The memory remains in the database but is excluded from all search results and context retrieval.

Parameters

id
string
required
Memory ID to delete.

Behavior

Sets deleted_at timestamp on the memory record. The memory is excluded from:
  • search_memories results
  • get_context results
  • listMemoriesByLayer results
The original data is preserved for potential recovery.