Skip to main content

updateMarkdownThread

client.memory.updateMarkdownThread(threadId: string, data: UpdateMarkdownThreadRequest): Promise<MemoryThread>

Updates the metadata of a markdown thread (name, tags, etc.).

Modifies thread-level properties without changing the markdown content itself. Use to change the actual markdown text.

Parameters

ParameterTypeRequiredDescription
threadIdstringYesThe unique identifier of the markdown thread to update
dataUpdateMarkdownThreadRequestYesThe metadata fields to update

Returns

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

Example

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

const client = new CodeBoltClient();

const result = await client.memory.updateMarkdownThread('threadId', /* UpdateMarkdownThreadRequest */);
console.log(result);