View information about an agent-knowledge base association
To learn how to view information about a knowledge base, choose the tab for your preferred method, and then follow the steps:
- Console
-
To view information about a knowledge base that's associated with an agent
-
Sign in to the AWS Management Console with an IAM identity that has permissions to use the Amazon Bedrock console. Then, 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.
-
Choose Edit in Agent builder
-
In the Knowledge bases section, select the knowledge base for which you want to view information.
-
- API
-
To get information about a knowledge base associated with an agent, send a GetAgentKnowledgeBase request with an Agents for Amazon Bedrock build-time endpoint. Specify the following fields:
To list information about the knowledge bases associated with an agent, send a ListAgentKnowledgeBases request with an Agents for Amazon Bedrock build-time endpoint. Specify the
agentIdandagentVersionfor which you want to see associated knowledge bases.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 maxResultsfield, the response returns anextTokenvalue. To see the next batch of results, send thenextTokenvalue in another request.