Skip to main content

getInstance

client.agentDebugApi.getInstance(agentInstanceId: string): Promise<AgentDebugInstance>

Retrieves details for a specific agent debug instance.

Returns the full debug record for a single agent instance including its configuration, status, timing, and metadata.

Parameters

ParameterTypeRequiredDescription
agentInstanceIdstringYesThe unique identifier of the agent instance

Returns

Promise<AgentDebugInstance> — A promise that resolves to the AgentDebugInstance object

Example

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

const client = new CodeBoltClient();

const result = await client.agentDebugApi.getInstance('agentInstanceId');
console.log(result);