Skip to main content

update

client.agentDeliberation.update(id: string, data: UpdateDeliberationRequest): Promise<Deliberation>

Partially updates a deliberation.

Applies a patch to the deliberation record, updating only the fields provided in the request.

Parameters​

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the deliberation to update
dataUpdateDeliberationRequestYesThe fields to patch on the deliberation

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.update('id', /* UpdateDeliberationRequest */);
console.log(result);