Search and Fetch Contents
A 2-step recipe with Exa. We can help you get access.
Recipe · 2 steps
Search and Fetch Contents
with Exa
Search Exa, then fetch full contents for the top-ranked result.
- Run an Exa auto search for the query and request a list of relevant results, capturing the id and url of the top match.
- Retrieve the full text, highlights, and a summary for the top result URL returned by the search.
What you'll need to have ready
- apiKey: Your Exa API key, sent in the x-api-key header.
- query: The natural-language search query.
- numResults: How many results the search should return.
- summaryQuery: Optional query guiding the LLM-generated summary of the contents.
For your developer
Arazzo workflow exa-ai:search-and-fetch-contents, 2 operations: search → getContents. Specs on APIs.io.