capabilities.work

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.

  1. Create a Webset with the initial query. It begins processing immediately; capture its id.
  2. Poll the Webset until it returns to idle, looping while it is still running or pending.
  3. Add a second Search to the Webset with the follow-up query to discover more matching items; capture the new search id.
  4. 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.