Skip to main content

archiveMarkdownThread

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

Archives a markdown thread to remove it from active listings.

Parameters

ParameterTypeRequiredDescription
threadIdstringYesThe unique identifier of the markdown thread to archive

Returns

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

Example

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

const client = new CodeBoltClient();

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