Skip to main content

getMarkdownThread

client.memory.getMarkdownThread(threadId: string): Promise<MemoryThread>

Retrieves a specific markdown thread by its unique identifier.

Returns the full markdown thread including its rendered content and metadata.

Parameters​

ParameterTypeRequiredDescription
threadIdstringYesThe unique identifier of the markdown thread to retrieve

Returns​

Promise<MemoryThread> — A promise that resolves to the markdown memory thread

Example​

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

const client = new CodeBoltClient();

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