Skip to main content

get

codebolt.agentDeliberation.get(params: IGetDeliberationParams): Promise<IGetDeliberationResponse>

Retrieves details of a specific deliberation including responses and votes.

Parameters

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