

# AgenticRetrieveMessage
<a name="API_agent-runtime_AgenticRetrieveMessage"></a>

A message in the agentic retrieval conversation.

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

 ** content **   <a name="bedrock-Type-agent-runtime_AgenticRetrieveMessage-content"></a>
The content of the message.  
Type: [AgenticRetrieveMessageContent](API_agent-runtime_AgenticRetrieveMessageContent.md) object  
Required: Yes

 ** role **   <a name="bedrock-Type-agent-runtime_AgenticRetrieveMessage-role"></a>
The role of the message sender (e.g., user or assistant).  
Type: String  
Valid Values: `user | assistant`   
Required: Yes

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