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
Send the Search API a natural-language objective, keyword queries, or both. Search ranks
and compresses the results, then returns excerpts that you can pass to a model. One
request can cover several related topics and reduce the number of calls in an agent
workflow.
The same guidance applies to direct API requests and function calls where a model fills
.md to its URL or sending Accept: text/markdown.objective and search_queries. You can copy the Search Tool
Definition into your agent.
Key Benefits
- Context engineering for token efficiency: The API ranks and compresses web results based on reasoning utility rather than human engagement, delivering the most relevant tokens for each agent’s specific objective. Because those excerpts are dense and relevant, your model spends fewer input tokens to reason over them. On a typical call, better retrieval routinely saves more in downstream inference than the search call itself costs.
- Single-hop resolution of complex queries: Where traditional search forces agents to make multiple sequential calls, accumulating latency and costs, Parallel resolves complex multi-topic queries in a single request.
- Multi-hop efficiency: For deep research workflows requiring multiple reasoning steps, agents using Parallel complete tasks in fewer tool calls while achieving higher accuracy and lower end-to-end latency.
Request Fields
search_queries requires at least one non-empty query. All other fields are optional.
See the API Reference for the full parameter definitions.
Send
objective and search_queries together.
Examples
Session Identifiers
Use onesession_id for Search and Extract calls that belong to the same task. Start each
new task with another ID.
Every Search and Extract response includes a session_id. The API returns the value you
provide or generates one when you omit it. The value can contain up to 1000 characters.
Use a descriptive string or a UUID, such as
"company_search_cd812136-9f81-484e-ab92-2ba0cb8b9ea8".
Search Tool Definition
Add one of these definitions to your agent’s tool list. Each tab uses the same schema with a wrapper for OpenAI, Anthropic, or Gemini.MCP supplies the tool definition, so MCP clients can skip
this section.
- OpenAI
- Anthropic
- Gemini