Skip to main content

unarchiveMarkdownThread

client.memory.unarchiveMarkdownThread(threadId: string): Promise<unknown>

Restores an archived markdown thread back to active status.

Parameters

ParameterTypeRequiredDescription
threadIdstringYesThe unique identifier of the markdown thread to unarchive

Returns

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

Example

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

const client = new CodeBoltClient();

const result = await client.memory.unarchiveMarkdownThread('threadId');
console.log(result);