DEV Community

Sugunah
Sugunah

Posted on

Exa Websets tutorial: how to use criteria to verify a list item by item

Part 2 of a short Exa Websets V2 series. Independent write-up; not affiliated with Exa. Based on Exa's official documentation and the published API spec — where a hands-on claim would go, I've written the check you can run instead. Part 1 covered the shape of a webset and V2 pricing; this one is the audit procedure. Links to my free cheat sheet and starter pack are at the end.

A webset's output is only as clean as its verification. Exa Websets evaluates every candidate against every criterion you set, and records the verdict with reasoning and references on each item. That audit trail is the feature — if you read it. The procedure: pilot small, audit line by line, fix the leaking criterion, then scale.

Step 1: Build your gold set before you run anything

Write down:

  • 15–30 entities you know belong in the set (from your own records, not from search).
  • 3–5 near-misses — entities that look right and must be excluded: a competitor in the wrong country, a company that used to offer the thing, a lab that cites the topic but doesn't work on it.

The near-misses are the valuable half: a criterion set that admits everything plausible fails exactly here.

Step 2: Run a pilot at 10–25 items — and stop there

Set count low on purpose. Small websets finish in minutes, and a pilot is cheap in V2's usage pricing (Agent Compute Units at $0.10/ACU plus $5 per 1,000 searches, per Exa's pricing page). What you're buying is not data; it's diagnosable failure. Don't fix anything yet — first, read.

Step 3: Read every evaluation, and sort the failures

Open each item and read the per-criterion verdicts. Sort what you find into four buckets:

  1. Gold-set misses — a known-good entity was rejected. Read which criterion killed it. Usually the criterion is stricter than reality: you demanded evidence phrased one way, and the entity publishes it another way.
  2. Near-miss admissions — a must-exclude entity passed. This is the leaking criterion. Read its reasoning: the evaluation quotes the evidence it relied on, and you'll see whether the evidence is misleading or your criterion is ambiguous.
  3. True-but-useless admissions — the entity passes every criterion and still isn't what you meant. A defining property lives in your head but not in your criteria. Write it down as a new criterion (you have room for up to 5).
  4. Duplicates and identity confusion — the same entity under two names, or a parent and its subsidiary both admitted. A scoping problem, fixed with excludes or tighter query wording, not criteria.

Step 4: Fix the criterion, never the row

The discipline that makes this work: never hand-edit rows. Deleting a bad row teaches the system nothing and doesn't scale. Every fix happens at the level of the query, the criteria, or the enrichments:

  • Compound criterion? Split it. "Founded after 2020 AND Berlin-based AND has a live product" fails as one opaque verdict; as three criteria, you can see which leg is leaking.
  • Vague evidence? Re-anchor it to something a public source can settle: "lists a wholesale program on its own website" beats "is B2B-focused."
  • Time drift? Date it. "Since January 2025," never "recently."
  • Enrichment garbage? The description is under-specified. Use typed formats (date, number, options, email, url) and describe the evidence, not just the field name.

Then re-run the pilot and re-audit. One or two iterations is normal. If a criterion still leaks after two rewrites, the property probably isn't publicly verifiable — drop it from criteria and check it downstream instead of pretending the webset verified it.

Step 5: Scale — with the boring safeguards on

  • Preview first on big runs (POST /v0/websets/preview shows how your query decomposes before you pay for the full scan).
  • Set an externalId per webset. Reusing one returns 409 — your dedupe mechanism against accidental double-runs.
  • Paginate honestly. Items return up to 100 per page; follow nextCursor to the end or your export is silently a fraction of the set.
  • Store webhook secrets immediately — they're shown exactly once. Use webset.item.created, webset.item.enriched, and webset.idle instead of polling blind.
  • Already have a list? Import it (CSV of company homepages; LinkedIn URLs for people) and use searches that exclude or scope to other websets, so you stop re-paying for entities you already have.

The compliance line, again

Websets builds from publicly available web data; that is not a blank check. No data behind logins, no terms-of-service evasion, no bulk harvesting of personal data, no targeting by sensitive characteristics. Company-level data by default; person-level data only for public professional roles with a purpose you can state in one sentence. And a verified list is not consent to outreach — whether you may contact anyone on it is a separate legal question.

Pilot audit checklist

  • [ ] Gold set written: 15–30 known-good, 3–5 near-misses
  • [ ] Pilot run at 10–25 items, not full count
  • [ ] Every evaluation read; failures sorted into the four buckets
  • [ ] Fixes made to criteria/query only — no hand-edited rows
  • [ ] Criteria atomic, evidence-anchored, dated (max 5)
  • [ ] Pilot re-run and re-audited before scaling
  • [ ] Purpose for the data stated in one sentence

The unglamorous truth of list-building: finding candidates was never the hard part. This audit loop — reading verdicts before you scale — is what separates a dataset from a spreadsheet of maybes.


Free: the workflow, all 7 enrichment formats, the V2 pricing table, and the 6 rules on one page: https://payhip.com/b/YHdj4

Full starter pack: an 18-section tutorial, 12 copy-paste prompts, and 3 workflow worksheets (dataset specification, pilot audit, delivery log): https://payhip.com/b/iwJHW

Disclosure: the pack is my own independent product, sold on Payhip. The cheat sheet is free and covers the essentials. This article is based on Exa's official documentation and API specification — I have no relationship with Exa.

Top comments (0)