Skip to documentation
Docs navigation
Docs/restoreTopic()
MemoGrafterAgent

restoreTopic()

Restore a suppressed topic to active memory operations.

What it does

Restore a suppressed topic to active memory operations.

When to use it

Use to make a suppressed topic eligible for active reads again.

Signature

TypeScript
restoreTopic(topicId: string): Promise<boolean>

Parameters

topicId (string) — The topic to change.

Result

true when the requested state changed; false when the target was already in that state or was not found.

Behavior

Clears topic suppression but does not revive memories that were independently forgotten, decayed, or superseded.

Example

example.ts
await agent.restoreTopic(topicId);