Skip to main content

getInstanceRawLogs

client.agentDebugApi.getInstanceRawLogs(agentInstanceId: string, params?: AgentDebugLogsParams): Promise<unknown>

Retrieves raw, unprocessed logs for a specific agent instance.

Returns the raw log output as produced by the agent, without any parsing or structuring. Useful for debugging issues not captured by the structured log parser.

Parameters

ParameterTypeRequiredDescription
agentInstanceIdstringYesThe unique identifier of the agent instance
paramsAgentDebugLogsParamsNoOptional pagination parameters

Returns

Promise<unknown> — A promise that resolves to the raw log data

Example

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

const client = new CodeBoltClient();

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