v4

latestOpenAPI 3.1.02026-08-01420618.8 KB
Content Management

Forget a memory

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

delete/v4/memories

Request body

idstring

ID of the memory entry to operate on

contentstring

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

containerTagstring required

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

reasonstring

Optional reason for forgetting this memory

Example request

{
  "id": "mem_abc123",
  "content": "John prefers dark mode",
  "containerTag": "user_123",
  "reason": "outdated information"
}

Response

Memory forgotten successfully

idstring required

ID of the memory that was forgotten

forgottenboolean required

Indicates the memory was successfully forgotten

Example response

{
  "id": "mem_abc123",
  "forgotten": true
}