A service for retrieving agent execution traces. Provides detailed information about agent plan execution including steps, timing, and safety scores.
Examples
Get trace data for a specific trace ID:
const traceData = await AgentTrace.getTrace(connection, '12-23-34');
Static
Beta
Get the trace data for a given trace ID.
The connection to use for making the API request
The trace ID to retrieve trace data for
Promise that resolves with the trace data response containing actions and their execution details
A service for retrieving agent execution traces. Provides detailed information about agent plan execution including steps, timing, and safety scores.
Examples
Get trace data for a specific trace ID:
const traceData = await AgentTrace.getTrace(connection, '12-23-34');