urlhttps://docs.perplexity.ai/api-reference/chat-completions-post
Fetch prompt: Summarize Perplexity Sonar API: how it grounds answers in web search, citation support (does it return source URLs/citations), accuracy claims, models available (sonar, sonar-pro), and reliability for factual answers.
Tool result summary: # Perplexity Sonar API Summary ## Web Search Grounding The API integrates web search capabilities to inform responses. Users can configure search behavior through parameters like `search_mode` (web, academic, or sec), `search_type` (fast, pro, or auto), and context size (low, medium, high). The `disable_search` option allows responses based solely on training data when needed. ## Citations & Source URLs The API expli
Agent context: I'll consult the documentation of the leading managed web-search/retrieval providers in parallel, focusing on accuracy, source quality, and citations.