Agent memory API: forget a memory, a document or a subject
Forget one memory by id, remove a source document (and what was extracted from it), or forget everything matching a plain-language instruction ("everything about Project Titan"). Run the instruction with dry_run first to see what would go.
Coming soon. No real adapter serves this capability yet, so a run on a live key is refused and nothing is charged. The schema below is final: build against it now and it runs the day the first provider goes live.
| Provider | Status |
|---|---|
Supermemory |
adapter next |
Unit: per_forget · unmatched results billed: no
Forgetting by id is the floor; a plain-language forget runs a small agent upstream and is priced as one operation.
The exact quote is returned by /v1/inspect before every call and held with headroom on execution. The quote is the price floor: if the provider's actual cost overruns it, the run bills the overrun at the same rate, never above the hold. The unused part of every hold is released.
curl https://api.routergrowth.com/v1/run \ -H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \ -d '{ "capability": "memory.forget", "input": { }, "routing": {"provider": "auto"} }'
{
"properties": {
"document_id": {
"description": "From memory.add: removes the document and its memories",
"type": "string"
},
"dry_run": {
"default": false,
"description": "With query: preview the matches without forgetting anything",
"type": "boolean"
},
"max_forget": {
"default": 100,
"description": "With query: cap on memories forgotten in one call, up to 500",
"type": "integer"
},
"memory_id": {
"description": "From memory.search, memory.profile or memory.list",
"type": "string"
},
"namespace": {
"description": "Same value you gave memory.add; omit for the workspace-wide memory",
"type": "string"
},
"query": {
"description": "Plain-language target, e.g. \"forget everything about Acme\u0027s old pricing\"",
"type": "string"
},
"reason": {
"description": "Stored on each forgotten memory",
"type": "string"
},
"threshold": {
"default": 0.5,
"description": "With query: lower casts a wider net",
"type": "number"
}
},
"type": "object"
}
forgotten · dry_run · matched · summary · memories · memory_id · document_id