capabilities.work

Create Webset and List Items

A 3-step recipe with Exa. We can help you get access.

Recipe · 3 steps

Create Webset and List Items

with Exa

Create a Webset, poll until idle, and list the collected items.

  1. Create a Webset with an embedded search query and target count. It begins processing immediately; capture its id and initial status.
  2. Fetch the Webset by id and inspect its status. While it is still running or pending, loop back and poll again; once it returns to idle, continue.
  3. List the structured items the Webset collected, capturing the first item id and the pagination cursor.
What you'll need to have ready
  • apiKey: Your Exa API key, sent in the x-api-key header.
  • query: Natural-language search query describing the entities to collect.
  • count: Number of items the Webset will attempt to find.
  • limit: Number of items to return when listing.
For your developer

Arazzo workflow exa-ai:create-webset-and-list-items, 3 operations: websets-create → websets-get → websets-items-list. Specs on APIs.io.