Skip to main content

getAll

client.agentDeliberation.getAll(params?: Record<string, unknown>): Promise<Deliberation[]>

Retrieves all deliberations.

Returns every deliberation in the system, optionally filtered by the provided query parameters.

Parameters

ParameterTypeRequiredDescription
paramsRecord<string, unknown>NoOptional query or filter parameters

Returns

Promise<Deliberation[]> — A promise that resolves to an array of Deliberation objects

Example

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

const client = new CodeBoltClient();

const result = await client.agentDeliberation.getAll();
console.log(result);