View information about an agent
After you create an agent, you can view or update its configuration as required. The configuration applies to the working draft. If you no longer need an agent, you can delete it.
To learn how to view information about an agent, choose the tab for your preferred method, and then follow the steps:
- Console
-
To view information about 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/
. -
Select Agents from the left navigation pane. Then, choose an agent in the Agents section.
-
On the agent details page, you can see configurations that apply to all versions of the agent, associated tags, and its versions and aliases.
-
To see details about the working draft of the agent, choose Edit in Agent builder.
-
- API
-
To get information about an agent, send a GetAgent request with an Agents for Amazon Bedrock build-time endpoint and specify the
agentId
. See code examples.To list information about your agents, send a ListAgents request with an Agents for Amazon Bedrock build-time endpoint. See code examples. You can specify the following optional parameters:
Field Short description maxResults The maximum number of results to return in a response. nextToken If there are more results than the number you specified in the maxResults
field, the response returns anextToken
value. To see the next batch of results, send thenextToken
value in another request.To list all the tags for an agent, send a ListTagsForResource request with an Agents for Amazon Bedrock build-time endpoint and include the Amazon Resource Name (ARN) of the agent.