Documentation Index
Fetch the complete documentation index at: https://docs.parallel.ai/llms.txt
Use this file to discover all available pages before exploring further.
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
This guide helps you migrate from the Beta Search API (.md to its URL or sending Accept: text/markdown./v1beta) to the GA version (/v1).
Both the Beta and V1 APIs continue to be supported. Using the Beta API will result in warnings and no breaking errors in production until at least June 2026. We recommend migrating to the V1 API for the latest features and improvements.
Highlights
-
search_queriesis now required — At least one non-empty query must be provided. In Beta, only one ofobjectiveorsearch_querieswas required. -
Settings reorganized under
advanced_settings—source_policy,fetch_policy, excerpt settings, andmax_resultsare now nested under a single newadvanced_settingsobject (previously top-level fields). See Advanced Settings for more details. -
New
locationfield — Setadvanced_settings.locationto an ISO 3166-1 alpha-2 country code (e.g.,"us","gb","de","jp") to geo-target search results. Only a subset of countries are currently supported; unsupported or invalid values are ignored with a warning. -
Simplified modes — Modes are reduced from three (
fast,one-shot,agentic) to two (basic,advanced), withadvancedas the new default. For most use cases, map bothfastandone-shottobasic, and mapagentictoadvanced.basic: Offers lower latency and works best with 2-3 high-quality search_queries. Best for real-time applications where speed is critical.advanced(default): Provides higher quality with more advanced retrieval and compression. Best for complex queries where result quality matters more than latency.
Overview of Changes
| Component | Beta | V1 |
|---|---|---|
| Endpoint | /v1beta/search | /v1/search |
| Modes | fast, one-shot, agentic (default one-shot) | basic, advanced (default advanced) |
| SDK method | client.beta.search() | client.search() |
search_queries | Optional (one of objective or search_queries required) | Required (at least one non-empty query) |
objective | Required if search_queries omitted | Optional |
max_chars_total | Inside excerpts object | Promoted to top-level request field |
client_model (new) | — | Top-level field for model-specific optimizations |
location (new) | — | advanced_settings.location — ISO 3166-1 alpha-2 country code for geo-targeted results |
advanced_settings (new) | — | New object nesting source_policy, fetch_policy, excerpt_settings, max_results, and location |
Migration Example
Before (Beta)
After (V1)
Additional Resources
- Search Quickstart - Get started with the Search API
- Best Practices - Optimize your search requests
- Search MCP - Use Search via Model Context Protocol
- API Reference - Complete parameter specifications