Forget
POST /v1/forget
Suppress, unsuppress, or lifecycle-control memory with an auditable reason.
Use this endpoint when a host or operator knows that memory should no longer be eligible for direct action, or that a reviewed suppression should be restored.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
operation | suppress, unsuppress, rehydrate, or activate | Yes | Lifecycle operation to apply. |
target | pattern, archive, payload, or memory | Yes | Target class. |
reason | string | Yes | Audit reason for the operation. |
tenant_id | string | No | Tenant boundary. |
scope | string | No | Project or workspace boundary. |
actor | string | No | Human, service, or Agent applying the change. |
memory_ids / node_ids | string[] | Conditional | Runtime memory references. |
client_ids | string[] | Conditional | Client-provided write IDs. |
guide_trace_id | string | No | Guide trace connected to the decision. |
until | string | No | Optional ISO timestamp for temporary suppression. |
At least one target reference should be supplied.
Example: suppress memory
curl -s http://127.0.0.1:3001/v1/forget \
-H 'content-type: application/json' \
-d '{
"tenant_id": "default",
"scope": "checkout-migration",
"operation": "suppress",
"target": "memory",
"reason": "This memory was contradicted by the accepted verifier result.",
"memory_ids": ["mem_123"],
"actor": "reviewer-1"
}'Example: restore after review
curl -s http://127.0.0.1:3001/v1/forget \
-H 'content-type: application/json' \
-d '{
"tenant_id": "default",
"scope": "checkout-migration",
"operation": "unsuppress",
"target": "memory",
"reason": "Manual review confirmed this memory is current.",
"memory_ids": ["mem_123"],
"actor": "reviewer-1"
}'SDK
await aionis.forget({
operation: "suppress",
target: "memory",
reason: "Contradicted by accepted verifier result.",
memory_ids: ["mem_123"],
actor: "reviewer-1",
});Response
Important fields:
| Field | Meaning |
|---|---|
contract_version | Lifecycle result contract version. |
operation | Applied operation. |
target | Target class. |
forget_effect | Audit record and lifecycle effect. |
source_map | Runtime surfaces used to apply the operation. |