Expand Webset Search
A 4-step recipe with Exa. We can help you get access.
Recipe · 4 steps
Expand Webset Search
with Exa
Create a Webset, add a follow-up search, and poll it until completed.
- Create a Webset with the initial query. It begins processing immediately; capture its id.
- Poll the Webset until it returns to idle, looping while it is still running or pending.
- Add a second Search to the Webset with the follow-up query to discover more matching items; capture the new search id.
- Poll the follow-up Search by id until it reaches completed, looping back while it is still created, pending, or running.
What you'll need to have ready
- apiKey: Your Exa API key, sent in the x-api-key header.
- query: Initial search query used to create the Webset.
- followUpQuery: Follow-up query used to add a second search to the Webset.
- count: Number of items the initial search will attempt to find.
- followUpCount: Number of items the follow-up search will attempt to find.
For your developer
Arazzo workflow exa-ai:expand-webset-search, 4 operations: websets-create → websets-get → websets-searches-create → websets-searches-get. Specs on APIs.io.