

# ReasoningContentBlock
<a name="API_agent-runtime_ReasoningContentBlock"></a>

Contains content regarding the reasoning that the foundation model made with respect to the content in the content block. Reasoning refers to a Chain of Thought (CoT) that the model generates to enhance the accuracy of its final response.

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

**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** reasoningText **   <a name="bedrock-Type-agent-runtime_ReasoningContentBlock-reasoningText"></a>
Contains information about the reasoning that the model used to return the content in the content block.  
Type: [ReasoningTextBlock](API_agent-runtime_ReasoningTextBlock.md) object  
Required: No

 ** redactedContent **   <a name="bedrock-Type-agent-runtime_ReasoningContentBlock-redactedContent"></a>
The content in the reasoning that was encrypted by the model provider for trust and safety reasons.  
Type: Base64-encoded binary data object  
Required: No

## See Also
<a name="API_agent-runtime_ReasoningContentBlock_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-runtime-2023-07-26/ReasoningContentBlock) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agent-runtime-2023-07-26/ReasoningContentBlock) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agent-runtime-2023-07-26/ReasoningContentBlock) 