

# KnowledgeBaseDocument
<a name="API_agent_KnowledgeBaseDocument"></a>

Contains information about a document to ingest into a knowledge base and metadata to associate with it.

## Contents
<a name="API_agent_KnowledgeBaseDocument_Contents"></a>

 ** content **   <a name="bedrock-Type-agent_KnowledgeBaseDocument-content"></a>
Contains the content of the document.  
Type: [DocumentContent](API_agent_DocumentContent.md) object  
Required: Yes

 ** metadata **   <a name="bedrock-Type-agent_KnowledgeBaseDocument-metadata"></a>
Contains the metadata to associate with the document.  
Type: [DocumentMetadata](API_agent_DocumentMetadata.md) object  
Required: No

## See Also
<a name="API_agent_KnowledgeBaseDocument_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/bedrock-agent-2023-06-05/KnowledgeBaseDocument) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agent-2023-06-05/KnowledgeBaseDocument) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agent-2023-06-05/KnowledgeBaseDocument) 