Forget memories matching a prompt/query
Agentic mass-forget. Given a prompt or query, a tool-calling agent searches the container’s memories and soft-deletes everything matching the target. Use dryRun to preview first.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Natural-language instruction ('forget everything about Project Titan') or a bare topic ('Project Titan'). An agent searches the container's memories and selects matches to forget.
1 - 2000"forget everything about Project Titan"
Container tag / space the forget operation is scoped to.
100^[a-zA-Z0-9_:-]+$"user_123"
When true, returns the memories that WOULD be forgotten without mutating anything. Defaults to false (forgets for real).
false
Minimum cosine similarity a memory must have to be considered. Lower = wider net. Defaults to 0.5.
0 <= x <= 10.5
Maximum number of memories this call may forget. Defaults to 100, max 500.
1 <= x <= 500100
Optional reason stored as forgetReason on each memory.
"project cancelled"
Response
Forget operation completed (or previewed)
Response after an agentic mass-forget
Whether this was a preview (no mutation) or a real forget
Number of memories selected / forgotten
ID tagged on every memory forgotten in this call (null on dryRun)
The agent's one-line summary of what it did
On dryRun: the memories that would be forgotten
On apply: the memories that were forgotten