GroundingMetadata interface

Metadata returned to client when grounding is enabled.

Signature:

export interface GroundingMetadata 

Properties

Property Type Description
groundingAttributions GroundingAttribution[]
retrievalQueries string[]
webSearchQueries string[]

GroundingMetadata.groundingAttributions

Signature:

groundingAttributions: GroundingAttribution[];

GroundingMetadata.retrievalQueries

Signature:

retrievalQueries?: string[];

GroundingMetadata.webSearchQueries

Signature:

webSearchQueries?: string[];