Websets API Reference
Async verified and enriched collection-building surface viahttps://api.exa.ai/websets/v0.
Canonical Docs Links
- Base docs URL:
https://exa.ai/docs - Websets overview:
/reference/websets-api - Websets coding-agent reference:
/websets/api-guide-for-coding-agents - Websets API overview:
/websets/api-guide - How Websets works:
/websets/api/how-it-works
Contents
- Overview
- Core objects
- Lifecycle
- Endpoint families
- Create flow
- Webhooks, events, and monitors
- Critical pitfalls
Overview
Use the Websets API when you need more than ordinary search results:- find entities that match criteria
- verify that each candidate truly matches
- enrich each item with structured fields
- keep an evolving collection over time
externalId for idempotency when you need to de-duplicate create calls across retries or job reruns.
Core Objects
Current Websets guidance centers on four main objects:Webset: container for the collectionSearch: async discovery job that finds and verifies itemsItem: structured result stored in the websetEnrichment: async extraction job that adds more structured fields to items
Lifecycle
Typical lifecycle:- Create a webset with a search definition
- Websets finds candidate results
- Websets verifies each result against your criteria
- Matching results become items in the webset
- Optional enrichments add more structured fields
- Events and webhooks notify you as items and enrichments complete
Endpoint Families
The Websets API includes several grouped resource families:
This file keeps those Websets-owned monitor subresources inside the Websets architecture discussion. For the standalone recurring search product at
https://api.exa.ai/monitors, use monitors.md.
Representative Create Flow
- define the entity discovery problem
- optionally add enrichment fields up front
- let Websets search, verify, and populate items over time
POST /websets/preview before creating a webset when you want to inspect how query decomposition, entity detection, or early preview items will behave without committing to a new resource.
Searches, Criteria, and Enrichments
Websets search payloads typically include:querycount- optional
entity - optional
criteria - optional
enrichments
criteria as verification rules and enrichments as additional structured data you want extracted after matching.
This is the clearest distinction from the search endpoint:
- the search endpoint returns ranked results immediately
- the Websets API builds and maintains a structured collection over time
Webhooks, Events, and Monitors
Websets is event-driven. Important consequences:- create webhook subscriptions when downstream systems need progress or completion updates
- expect item creation and enrichment completion to happen incrementally
- use events and webhook attempts for debugging delivery issues
/websets/v0/monitors for keeping a webset fresh over time. Treat those as part of the Websets lifecycle rather than as the main Monitors API described in monitors.md.
SDK Notes
Both official SDKs expose Websets namespaces. Current docs and SDK source show dedicatedwebsets clients rather than asking you to call raw /websets/v0 paths by hand for every operation.
Critical Pitfalls
- Do not use the Websets API when ordinary search or contents retrieval is enough.
- Treat Websets as async-first; do not assume one immediate final response.
- Expect structured items, verification state, and enrichments rather than plain ranked result lists.