A list of indices that refer to specific GroundingChunk objects within the GroundingMetadata.groundingChunks array. These referenced chunks are the sources that support the claim made in the associated segment of the response. For example, an array [1, 3, 4] means that groundingChunks[1], groundingChunks[3], and groundingChunks[4] are the retrieved content supporting this part of the response.
Specifies the segment of the model's response content that this grounding support pertains to.
GroundingSupport.groundingChunkIndices
A list of indices that refer to specific GroundingChunk objects within the GroundingMetadata.groundingChunks array. These referenced chunks are the sources that support the claim made in the associated segment of the response. For example, an array [1, 3, 4] means that groundingChunks[1], groundingChunks[3], and groundingChunks[4] are the retrieved content supporting this part of the response.
Signature:
groundingChunkIndices?:number[];
GroundingSupport.segment
Specifies the segment of the model's response content that this grounding support pertains to.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-17 UTC."],[],[],null,["# GroundingSupport interface\n\nProvides information about how a specific segment of the model's response is supported by the retrieved grounding chunks.\n\n**Signature:** \n\n export interface GroundingSupport \n\nProperties\n----------\n\n| Property | Type | Description |\n|-----------------------------------------------------------------------------------------|----------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [groundingChunkIndices](./ai.groundingsupport.md#groundingsupportgroundingchunkindices) | number\\[\\] | A list of indices that refer to specific [GroundingChunk](./ai.groundingchunk.md#groundingchunk_interface) objects within the [GroundingMetadata.groundingChunks](./ai.groundingmetadata.md#groundingmetadatagroundingchunks) array. These referenced chunks are the sources that support the claim made in the associated `segment` of the response. For example, an array `[1, 3, 4]` means that `groundingChunks[1]`, `groundingChunks[3]`, and `groundingChunks[4]` are the retrieved content supporting this part of the response. |\n| [segment](./ai.groundingsupport.md#groundingsupportsegment) | [Segment](./ai.segment.md#segment_interface) | Specifies the segment of the model's response content that this grounding support pertains to. |\n\nGroundingSupport.groundingChunkIndices\n--------------------------------------\n\nA list of indices that refer to specific [GroundingChunk](./ai.groundingchunk.md#groundingchunk_interface) objects within the [GroundingMetadata.groundingChunks](./ai.groundingmetadata.md#groundingmetadatagroundingchunks) array. These referenced chunks are the sources that support the claim made in the associated `segment` of the response. For example, an array `[1, 3, 4]` means that `groundingChunks[1]`, `groundingChunks[3]`, and `groundingChunks[4]` are the retrieved content supporting this part of the response.\n\n**Signature:** \n\n groundingChunkIndices?: number[];\n\nGroundingSupport.segment\n------------------------\n\nSpecifies the segment of the model's response content that this grounding support pertains to.\n\n**Signature:** \n\n segment?: Segment;"]]