

# RetrievalContent
<a name="API_agent-runtime_RetrievalContent"></a>

The content retrieved from a knowledge source.

## Contents
<a name="API_agent-runtime_RetrievalContent_Contents"></a>

 ** mimeType **   <a name="bedrock-Type-agent-runtime_RetrievalContent-mimeType"></a>
The MIME type of the retrieved content.  
Type: String  
Required: Yes

 ** byteContent **   <a name="bedrock-Type-agent-runtime_RetrievalContent-byteContent"></a>
The binary content of the retrieved item.  
Type: Base64-encoded binary data object  
Required: No

 ** text **   <a name="bedrock-Type-agent-runtime_RetrievalContent-text"></a>
The text content of the retrieved item.  
Type: String  
Required: No

## See Also
<a name="API_agent-runtime_RetrievalContent_SeeAlso"></a>

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