

# AgenticRetrieveAction

A retrieval the agent decided to run.

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

 ** inputQuery **   <a name="context-Type-AgenticRetrieveAction-inputQuery"></a>
The query the agent composed.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 35000.  
Required: No

 ** sourceRetrievers **   <a name="context-Type-AgenticRetrieveAction-sourceRetrievers"></a>
The sources that the retrieval targets: an agent context, a knowledge base, or a data source.  
Type: Array of [AgenticRetrieveSourceRetriever](API_AgenticRetrieveSourceRetriever.md) objects  
Array Members: Minimum number of 0 items. Maximum number of 100 items.  
Required: No

## See Also
<a name="API_AgenticRetrieveAction_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/context-2022-07-26/AgenticRetrieveAction) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/context-2022-07-26/AgenticRetrieveAction) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/context-2022-07-26/AgenticRetrieveAction) 