

# AiAgentSearchCriteria
<a name="API_AiAgentSearchCriteria"></a>

The search criteria based on AI Agents metadata.

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

 ** AiAgentEscalated **   <a name="connect-Type-AiAgentSearchCriteria-AiAgentEscalated"></a>
A boolean flag indicating whether the contact initially handled by this AI agent was escalated to a human agent.  
Type: Boolean  
Required: No

 ** AiUseCase **   <a name="connect-Type-AiAgentSearchCriteria-AiUseCase"></a>
The use case or scenario for which the AI agent is involved in the contact.  
Type: String  
Valid Values: `AgentAssistance | SelfService`   
Required: No

 ** Id **   <a name="connect-Type-AiAgentSearchCriteria-Id"></a>
ID of the AI Agent that was involved in the contact.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 128.  
Required: No

 ** VersionNumber **   <a name="connect-Type-AiAgentSearchCriteria-VersionNumber"></a>
Version of the AI agent that was involved in the contact. ID is required if VersionNumber is passed.  
Type: Integer  
Required: No

## See Also
<a name="API_AiAgentSearchCriteria_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/connect-2017-08-08/AiAgentSearchCriteria) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/connect-2017-08-08/AiAgentSearchCriteria) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/connect-2017-08-08/AiAgentSearchCriteria) 