Skip to main content
For AI agents: a documentation index is available at https://docs.parallel.ai/llms.txt. The full text of all docs is at https://docs.parallel.ai/llms-full.txt. You may also fetch any page as Markdown by appending .md to its URL or sending Accept: text/markdown.
The advanced_settings object on the Search API lets you tune source selection, freshness, excerpt sizing, geo-targeting, and result count. Most callers don’t need it — the defaults are chosen to produce the best results for typical requests, and setting these knobs unnecessarily can hurt quality or latency.

Fields

Using include_domains

Source policies can significantly reduce result quality by excluding relevant pages from retrieval. Use include_domains and exclude_domains only when absolutely necessary — for compliance-bound corpora, tasks that require a single known publisher, or when specific sources must be blocked.
include_domains restricts retrieval so that only those domains can appear in results—the rest of the web is not searched. Treat it as a hard allow list, not a soft preference. Best practice: Set include_domains only when answers must come exclusively from those domains (for example, internal or compliance-bound corpora, or when the task truly requires a single known publisher). If the model or user might still need the open web, avoid include_domains and instead steer sources in the objective (e.g. “prefer official documentation”) or use exclude_domains when you only need to block specific sites. Full parameter details: Source policy.