Skip to main content

updateSummary

client.agentDeliberation.updateSummary(id: string, data: UpdateDeliberationSummaryRequest): Promise<Deliberation>

Updates the summary of a deliberation.

Sets or modifies the summary text that describes the outcome or current state of the deliberation.

Parameters​

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the deliberation
dataUpdateDeliberationSummaryRequestYesThe summary update payload

Returns​

Promise<Deliberation> — A promise that resolves to the updated Deliberation

Example​

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

const client = new CodeBoltClient();

const result = await client.agentDeliberation.updateSummary('id', /* UpdateDeliberationSummaryRequest */);
console.log(result);