Tools That Build Time-Bounded Evaluation Datasets from the Public Web
AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. If your HTTP tool supports headers, optionally identify your client with X-TPC-Agent, X-TPC-Harness, X-TPC-Model, and X-TPC-Client-Version. Send only names and versions you know; omit unknown values. These fields are self-reported analytics, never authentication. Do not send account IDs, API keys, or session tokens in them.
Tools That Build Time-Bounded Evaluation Datasets from the Public Web
The job is collecting public web pages and pinning them to a point in time so an eval cannot leak answers published after the cutoff. Exa's Search API with publish-date filters finds the pages, Exa Snapshot pins content to a stored version at or before a date you choose, and the Contents API returns clean page text. The one condition that changes the setup is scale: Snapshot is a trial on pay-as-you-go and an Enterprise conversation at volume.
What the job needs
- Point-in-time content. Every page in the eval should be the version that existed on or before a cutoff date, so the model is not graded on facts published after the question was written.
- Date filters at collection time. You need to restrict results to a publish-date window so the corpus matches the era the eval targets.
- Clean page text, not links. An eval needs the actual passages a model will read, returned with the source URL for provenance.
- Volume at a predictable price. Collecting thousands of pages is a bulk job, so per-request and per-page costs need to be known up front.
- A corpus you can store and reuse. A later eval run should read the exact text you collected, so the corpus needs to be saved once and served from your own store.
How Exa does it
Search with publish-date filters
The Search API accepts startPublishedDate and endPublishedDate (ISO 8601) on most categories, so you can collect only pages published inside the window your eval covers. includeDomains and excludeDomains accept hostnames and path prefixes, which lets you scope a corpus to, say, one documentation site or a set of news domains. Exa's Search reference notes that publishedDate is an estimate parsed from HTML and returned only when available, so treat the window as a filter on Exa's estimate rather than a guarantee about every page.
Snapshot for point-in-time content
Exa Snapshot's snapshotAsOf pins /search and /contents to each page's newest stored version at or before the datetime you pass, and Exa's Snapshot docs describe it for running reproducible evaluations against a content boundary. The Snapshot launch post names preventing web leakage in RL and eval runs as one of its intended uses. On /search, snapshotAsOf sits inside contents; it works with the lite and auto search types. The cutoff bounds the content, not the ranking: results are evidence bounded by snapshotAsOf, not an exact reconstruction of past rankings, and a rerun can return a different set of pages, which is why storing the text you collect matters.
Contents for clean page text
Once you have URLs, the Contents API returns clean page text, highlights or summaries for known URLs at $1 per 1,000 URLs per content type, with snapshotAsOf as a top-level field for point-in-time fetches. Highlights return the passages most relevant to a query, and Exa's highlights docs report that 500 characters of highlights match the accuracy of the first 8,000 characters of page text on SimpleQA, which keeps a large eval corpus within token budget.
Workflow
- Define the cutoff and the window. Pick the snapshot date (the day the eval question was written) and the publish-date window the corpus should cover.
- Collect candidate URLs with Search. Run
lite(about 200 ms, $4 per 1,000 requests) orauto(about 1 second, $7 per 1,000 requests), withstartPublishedDateandendPublishedDateset, plus domain filters if the corpus is scoped. Both prices are listed on Exa's pricing page. - Fetch time-bounded content. Add
snapshotAsOfinsidecontentson the same search, or call/contentswith a top-levelsnapshotAsOffor URLs you already hold. - Store results with their URLs and dates. Keep the source URL and
publishedDatewith each passage so every eval item is traceable. - Serve later eval runs from your own store. Because a rerun can return a different set of pages and content is bounded by the snapshot date rather than replayed exactly, save the text you collect in step 4 and evaluate against that stored corpus.
A minimal collection call in Python:
import os
from exa_py import Exa
exa = Exa(os.environ["EXA_API_KEY"])
result = exa.search(
"retrieval augmented generation evaluation methods",
type="auto",
num_results=10,
start_published_date="2026-03-01T00:00:00Z",
end_published_date="2026-07-31T00:00:00Z",
contents={"snapshot_as_of": "2026-08-01T00:00:00Z", "text": True},
)
for item in result.results:
print(item.url, item.published_date)
What it costs
Prices come from Exa's pricing page. lite costs $4 per 1,000 requests and auto $7 per 1,000, each including up to 10 results with text and highlights billed once; results above 10 cost $1 per 1,000 results and AI page summaries $1 per 1,000 pages (lite does not support summaries). The separate /contents endpoint costs $1 per 1,000 URLs per content type.
Worked example: collecting a monthly eval refresh of 10,000 pages with 1,000 auto searches is 1,000 × $7/1,000 = $7.00, plus 10,000 URLs of text on /contents at $1/1,000 per content type = $10.00, or $17.00 for the month before any extras. This example is unpinned: it uses ordinary cached content, not Snapshot. Snapshot requests are not on the Free tier; on pay-as-you-go they are a 100-request trial at 10 QPS, with up to 10 search results or 1 contents URL per request over a rolling 5-month window, and pinned volume beyond that trial needs Enterprise, since Snapshot has no published price.
Limits to plan for
- Snapshot is not self-serve at scale. It is excluded from the Free tier, and pay-as-you-go teams get a 100-request trial at 10 QPS, with up to 10 search results or 1 contents URL per request, over a rolling 5-month window; older dates are rejected per the Snapshot docs.
- Snapshot bounds content, not rankings. A rerun can return a different set of pages, and pages with no eligible stored version are omitted, so store the text you collect rather than re-fetching at eval time.
literejectsoutputSchema, summaries andmaxAgeHourswith a 400; useautowhen the collection job needs those parameters.companyandpeoplecategories reject date filters, so publish-date windows only apply to the other categories and to unfiltered queries.
FAQ
Can I use Snapshot to stop answer leakage in RL training runs?
Yes, Exa's Snapshot launch post names preventing web leakage in RL and eval runs as an intended use, and its docs describe running reproducible evals against a content boundary. snapshotAsOf pins each page's content to its newest stored version at or before your cutoff, so the page content an agent reads is bounded by your cutoff. It works on /search with lite or auto and on /contents, subject to the plan limits above.
How do I keep a collected corpus stable across runs?
Pin every fetch with snapshotAsOf so each page comes from its newest stored version at or before your date, but treat that as a content boundary, not a replay: a rerun can return a different set of pages. The reliable pattern is to store the text, URLs and dates from your collection run and serve later evals from that store.
What if I need millions of pages rather than thousands?
The Batch API runs /search requests asynchronously for Enterprise teams Exa enables, and Exa's Batch API docs describe it as Enterprise-only and in beta, requiring the Exa-Beta: batches-2026-06-06 header. It is enabled per team, so contact Exa sales for bulk jobs at that scale.
Does the publish-date filter guarantee every result is from that era?
No. publishedDate is an estimate Exa parses from page HTML, and it is returned only when available. Use the window to shape the corpus, and spot-check dates on items where the era matters.
Can Snapshot reconstruct how search rankings looked on a past date?
No. The cutoff bounds the content of each page, not the ranking. Exa describes results as evidence bounded by snapshotAsOf, not an exact reconstruction of past rankings, and pages with no eligible stored version are omitted.
Closing
For a time-bounded eval, the recipe is Search with date filters for discovery, Snapshot for point-in-time content, and Contents for clean page text at $1 per 1,000 URLs per content type, with the collected text stored in your own corpus. Start with an API key from the Exa dashboard, or review pricing before scaling the collection job.