Skip to content
Get started

Forget a memory

DELETE/v4/memories

Forget (soft delete) a memory entry. The memory is marked as forgotten but not permanently deleted.

Body ParametersJSONExpand Collapse
containerTag: string

Container tag / space identifier. Required to scope the operation.

maxLength100
id: optional string

ID of the memory entry to operate on

content: optional string

Exact content match of the memory entry to operate on. Use this when you don’t have the ID.

reason: optional string

Optional reason for forgetting this memory

ReturnsExpand Collapse
id: string

ID of the memory that was forgotten

forgotten: boolean

Indicates the memory was successfully forgotten

Forget a memory

curl https://api.supermemory.ai/v4/memories \
    -X DELETE \
    -H "Authorization: Bearer $SUPERMEMORY_API_KEY"
{
  "id": "mem_abc123",
  "forgotten": true
}
Returns Examples
{
  "id": "mem_abc123",
  "forgotten": true
}