

# Citation

Maps a span of the answer to the entities that support it. The span is answer[startIndex:endIndex].

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

 ** endIndex **   <a name="context-Type-Citation-endIndex"></a>
The character offset in `answer` where the cited span ends (exclusive).  
Type: Integer  
Required: Yes

 ** references **   <a name="context-Type-Citation-references"></a>
The entities in retrievedContext that support the span, referenced by identity.  
Type: Array of [Reference](API_Reference.md) objects  
Array Members: Minimum number of 0 items. Maximum number of 100 items.  
Required: Yes

 ** startIndex **   <a name="context-Type-Citation-startIndex"></a>
The character offset in `answer` where the cited span begins.  
Type: Integer  
Required: Yes

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