Investigate an agent run

You need at least one recorded agent run in the selected time range, from a supported provider (OpenAI, Azure OpenAI, Amazon Bedrock, or Google GenAI). Refer to Monitor agent activity for how to find an agent with runs worth investigating.

This procedure walks through drilling into a single agent's runs, from the fleet table down to an individual step in the execution trace. Use it to explain why an agent produced an unexpected answer, including when the answer came from a subagent rather than the parent agent.

  1. On the Agents page, click the agent's row in the Agent Fleet table to open its drawer.

    The drawer header shows the agent name and status, Open in Designer and View execution links, the pipeline path, and a metrics row (Runs, Failure Rate, P99 Latency, Tokens) plus the Models used.


    Agent drawer showing the header, metrics row, and recent-runs table

  2. In the drawer's recent-runs table, find the run to investigate.

    The table lists each run's short ID (for example, 0f08bac5), Outcome, Model, Steps, Duration, and Tokens.

  3. Click the run to expand it.

    The expanded run shows its Path, Snaplex and node name (for example, snaplogic/rt/cloud/dev), Completed At, Model, Tokens, and Steps, followed by a Trace header (for example, Trace · 4 steps · 2s) with Open in Designer and View execution links.

    Click View execution at any point to jump to the same run's entry in the Pipeline executions panel. Being able to see a run in the Agent Fleet table doesn't guarantee access to its execution details there: environment admins can view all executions, but non-admins can view executions only for pipelines they own or in projects for which they have at least read permission. Refer to Pipeline executions.

  4. Check the badge next to the Trace header.
    • A green FULL DETAIL badge means the run was captured with full conversational logging enabled: you can inspect the actual prompt, tool arguments, and tool results for every step.
    • A gray TRACE ONLY badge means the run is trace-only: you can still see the sequence and timing of steps, but not the prompt/tool content for each one. Trace-only is not the same as no data — it still retains step sequence, timing, model and tool names, and the run's outcome.

    Expanded run showing the FULL DETAIL badge and the step timeline

    Turning on full logging does not retroactively recover content for a run that already happened as trace-only. To get full-detail content for this agent, confirm Write agent log to file system is enabled on the Agent Snap (it's on by default, so a trace-only run usually means it was cleared) and capture a new run. Refer to Agent execution data and log storage.

  5. Read the Timeline to see where time was spent.

    Each bar in the timeline is sized proportionally to how long that step ran. Model steps (Plan, Respond) show the model name and token count. Tool steps show a wrench icon and the tool or function name (for example, get_weather_api) with no token count.

  6. Expand a step to inspect its content (full-detail runs only).
    • A model step shows USER REQUEST (for a Plan step) or RESPONSE (for a Respond step).
    • A tool step shows PARAMETERS and RESULT as formatted JSON.

    Expanded Plan step and Respond step showing the user request and the model's formatted response

  7. If the step is a subagent trigger, use Go to subagent to open that subagent's own trace, and Go to parent agent to return.

    Use this navigation to follow a request across parent and subagent boundaries when the unexpected answer originated in a subagent rather than the top-level agent.

You've identified which step, model, or tool produced the behavior you're investigating. From here, decide whether the fix belongs in the agent's prompt, its tool pipeline, or its tool selection logic.