Skip to main content

getAll

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

Retrieves all defined agent execution phases.

Returns the complete list of execution phases that have been configured in the system.

Parameters

ParameterTypeRequiredDescription
paramsRecord<string, unknown>NoOptional query parameters for filtering or pagination

Returns

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

Example

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

const client = new CodeBoltClient();

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