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.”

Disassociate a knowledge base from an agent

Focus mode
Disassociate a knowledge base from an agent - Amazon Bedrock

To learn how to disassociate a knowledge base from an agent, choose the tab for your preferred method, and then follow the steps:

Console
To disassociate a knowledge base from an agent
  1. 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/.

  2. Select Agents from the left navigation pane. Then, choose an agent in the Agents section.

  3. Choose Edit in Agent builder

  4. In the Knowledge bases section, choose the option button that's next to the knowledge base that you want to delete. Then choose Delete.

  5. Confirm the message that appears and then choose Delete.

  6. To apply the changes that you made to the agent before testing it, choose Prepare in the Test window or at the top of the Working draft page.

API

To disassociate a knowledge base from an agent, send a DisassociateAgentKnowledgeBase request with an Agents for Amazon Bedrock build-time endpoint. Specify the knowledgeBaseId and the agentId and agentVersion of the agent from which to disassociate it.

To apply the changes to the working draft, send a PrepareAgent request with an Agents for Amazon Bedrock build-time endpoint. Include the agentId in the request. The changes apply to the DRAFT version, which the TSTALIASID alias points to.

To disassociate a knowledge base from an agent
  1. 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/.

  2. Select Agents from the left navigation pane. Then, choose an agent in the Agents section.

  3. Choose Edit in Agent builder

  4. In the Knowledge bases section, choose the option button that's next to the knowledge base that you want to delete. Then choose Delete.

  5. Confirm the message that appears and then choose Delete.

  6. To apply the changes that you made to the agent before testing it, choose Prepare in the Test window or at the top of the Working draft page.

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