Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

View the trace

Focus mode
View the trace - Amazon Bedrock

The following describes how to view the trace. Choose the tab for your preferred method, and then follow the steps:

Console
To view the trace during a conversation with an agent

Sign in to the AWS Management Console using an IAM role with Amazon Bedrock permissions, and open the Amazon Bedrock console at https://console.aws.amazon.com/bedrock/.

  1. In the Agents section, select the link for the agent that you want to test from the list of agents.

  2. The Test window appears in a pane on the right.

  3. Enter a message and choose Run. While the response is generating or after it finishes generating, select Show trace.

  4. You can view the trace for each Step in real-time as your agent performs orchestration.

API

To view the trace, send an InvokeAgent request with a Agents for Amazon Bedrock runtime endpoint and set the enableTrace field to TRUE. By default, the trace is disabled.

If you enable the trace, in the InvokeAgent response, each chunk in the stream is accompanied by a trace field that maps to a TracePart object. Within the TracePart is a trace field that maps to a Trace object.

To view the trace during a conversation with an agent

Sign in to the AWS Management Console using an IAM role with Amazon Bedrock permissions, and open the Amazon Bedrock console at https://console.aws.amazon.com/bedrock/.

  1. In the Agents section, select the link for the agent that you want to test from the list of agents.

  2. The Test window appears in a pane on the right.

  3. Enter a message and choose Run. While the response is generating or after it finishes generating, select Show trace.

  4. You can view the trace for each Step in real-time as your agent performs orchestration.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.