Skip to main content

unarchiveEpisodicMemory

client.memory.unarchiveEpisodicMemory(id: string): Promise<unknown>

Restores an archived episodic memory back to active status.

Parameters​

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the episodic memory to unarchive

Returns​

Promise<unknown> — A promise that resolves when the memory has been unarchived

Example​

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.memory.unarchiveEpisodicMemory('id');
console.log(result);