Skip to main content

getInstances

client.agentDebugApi.getInstances(params?: Record<string, unknown>): Promise<AgentDebugInstance[]>

Retrieves all agent debug instances.

Returns every agent instance that has been tracked by the debug system, regardless of its current status.

Parameters

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

Returns

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

Example

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

const client = new CodeBoltClient();

const result = await client.agentDebugApi.getInstances();
console.log(result);