Explain search results
Scholar API
Explain Search Results
Explain search results
POST
Explain search results
Generate an explanation from a previous Scholar Search, Web Search, or Smart Search request. Pass the returned search
id as search_id.
Best for: Summarizing search results, producing localized explanations, and turning search output into a readable answer.
Example
Response
NON_STREAMING returns a JSON object with a message field. COMPLETE and INCREMENTAL stream server-sent events for clients that can consume streaming responses.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
ID of the search to explain
Format of the explanation response. COMPLETE and INCREMENTAL stream server-sent events; NON_STREAMING returns a JSON response.
Available options:
COMPLETE, INCREMENTAL, NON_STREAMING Language code for the explanation (e.g., en, zh, ar)
Example:
"ar"
Level of detail in the explanation
Available options:
BRIEF, MODERATE, DETAILED Response
Successful explanation response. COMPLETE/INCREMENTAL stream text/event-stream; NON_STREAMING returns application/json.
JSON explanation response returned when response_mode is NON_STREAMING.
Generated explanation text.