AgenticSearchDebugInfo interface

Bounded diagnostics returned for agentic search when debug selects agentic or all. Retrieved documents remain in value; prompts and raw model reasoning are excluded. Disabling diagnostics does not disable usage accounting or actionable error reporting.

Properties

subQueries

Issued subqueries with their originating model turns. This is not a per-document trace or a stable pagination contract.

terminationReason

The reason agentic processing stopped, when available.

usage

Token usage for agentic query planning and ranking across this request.

Property Details

subQueries

Issued subqueries with their originating model turns. This is not a per-document trace or a stable pagination contract.

subQueries?: AgenticSearchSubQuery[]

Property Value

terminationReason

The reason agentic processing stopped, when available.

terminationReason?: string

Property Value

string

usage

Token usage for agentic query planning and ranking across this request.

usage?: AgenticSearchUsage

Property Value