get
codebolt.agentDeliberation.get(params: IGetDeliberationParams): Promise<IGetDeliberationResponse>
Retrieves details of a specific deliberation including responses and votes.
Parameters
params(IGetDeliberationParams): Parameters including deliberation ID and optional view type.
Returns
Promise<[IGetDeliberationResponse](/docs/reference/type-reference/codeboltjs/interfaces/IGetDeliberationResponse)>: A promise that resolves to deliberation details.
Examples
// Get full deliberation
const deliberation = await codebolt.agentDeliberation.get({
id: 'delib-123',
view: 'full'
});
// Get only responses
const responses = await codebolt.agentDeliberation.get({
id: 'delib-123',
view: 'responses'
});
Notes
- View options: 'request', 'full', 'responses', 'votes', 'winner'
- Use specific views to reduce payload size