Dated search
Add as_of to a search and Jevlin returns the web as it was saved at or before that instant. Add the same as_of to a fetch and each page is read as it was saved by then. Run an agent on a question whose answer came later, and it sees only what was on the web at the time.
Use it through the direct API or through the client. In the client it needs jevlin v0.9.0 or later. An earlier version refuses the field with unknown_field and sends nothing, so it never quietly turns a dated search into a live one.
From a shell
jevlin search --as-of 2026-11-02T00:00:00Z "2026 midterm elections results House control"
The answer says which cutoff the results are as of, and how many results the cutoff check dropped.
From an agent
Put as_of in the stdin request, or pass it to the MCP search tool:
{"version":1,"query":"2026 midterm elections results House control","as_of":"2026-11-02T00:00:00Z"}
To read a page the search returned, as it was at the same cutoff, send the search's as_of with the fetch:
{"version":1,"pages":[{"source_id":"s_…"}],"as_of":"2026-11-02T00:00:00Z"}
Direct API
You need a key from a project. Sign in at platform.jevlin.ai and create one there. A key an agent registered for itself is unclaimed and limited to fast, which cannot run a dated search, so claim it first.
curl -s https://api.jevlin.ai/v1/search \
-H "Authorization: Bearer $JEVLIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "2026 midterm elections results House control",
"as_of": "2026-11-02T00:00:00Z", "tier": "balanced", "view": "merged"}'
The answer is an ordinary search response with three additions:
- a top-level
as_of, the cutoff it was served at; filters_applied.as_of, withcutoffanddropped;merged, holding only pages saved by then, each with itssource_id,url,title,publishedandfound_by.
To read pages the search returned, send the same cutoff to /v1/fetch. A page is named by its source_id or url, and only pages your own searches returned in the last 24 hours can be read:
curl -s https://api.jevlin.ai/v1/fetch \
-H "Authorization: Bearer $JEVLIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"pages": [{"source_id": "s_…"}], "as_of": "2026-11-02T00:00:00Z", "max_chars": 10000}'
Each page has a status (ok with its content, or failed with a reason), and the response echoes as_of. Refusals are {"error": "…", "code": "…"} with the codes below. A 429 as_of_rate_limited carries a Retry-After header, in seconds.
The rules
as_ofis an RFC 3339 time with a zone, such as"2026-11-02T00:00:00Z"or"2026-11-02T01:00:00+01:00". It must be at least a minute in the past and at most 365 days back.- Results are pages as saved at or before the cutoff. A page with no copy saved by then is left out, so fewer results than asked for, or none, is a valid answer. Jevlin never fills the gap from the live web.
- The cutoff check: the router drops any result published after the cutoff's day.
- What comes back:
result.as_ofis the cutoff the search was served at, in UTC to the second.result.filters_applied.as_ofsays how many results the check dropped. - Which tiers run it: a dated search runs on
balancedormax, or withperplexity-searchnamed inproviders. The dated pages come from Perplexity's saved copies, and no other index is merged in. - What it can't be combined with:
recency(the cutoff is the date filter) orsearch_queries(a dated search runs the query alone). - Dated reads: a page may come back
failedwith reasonnot_saved_at_as_ofwhen no copy was saved by the cutoff. It may also come backfailedwithblockedwhen the site's saved copies can't be read. Both are answers, not errors, and the call still succeeds.
The same pages on every run
A dated search repeated with the same query and cutoff within 24 hours is served from your project's cache, with the same pages and at no cost; a restart clears it. Another project, even in the same organization, does not share the cache. A search worded differently, or one sent after the cache has expired or been cleared, is a fresh call, and it may return different pages, because the saved copies change over time. This applies to projects that keep search content. "cache": "refresh" asks again and is billed as a new search. To keep each rollout's searches with its outcome and reward, tag them over the HTTP API; see Rollouts.
Limits
Dated searches run at one a second across the whole service, shared by every account, and so do dated reads. Past that, the router answers 429 as_of_rate_limited. In the client, the envelope's retry_after_ms says how long to wait; on the direct API, the Retry-After header does, in seconds. Wait, then send the same request again. Your project's own rate ceiling and spend caps apply as usual.
What it costs
- A dated search costs $0.005. A repeat served from the cache costs nothing.
- A dated read costs $0.002 per page that comes back
ok.blockedandnot_saved_at_as_ofpages are free.
See Pricing and credit.
When it is refused
Two refusals come from the client, before anything is sent, each exit 2 with fix_input:
- an empty or non-string
as_of(as_of_invalid); as_ofbesiderecency(as_of_with_recency).
Everything else is the router's own code, passed on with its message (exit 3; the envelope):
| router answer | means | what to do |
|---|---|---|
400 as_of_invalid | not RFC 3339 with a zone | fix the time |
400 as_of_out_of_range | within the last minute, in the future, or more than 365 days back | pick a cutoff in range |
400 as_of_with_recency | sent with recency | drop recency |
400 as_of_conflict | sent with search_queries | drop search_queries |
422 as_of_unsupported_for_selection | the tier or providers leave no index that serves it; the message names one that does | use balanced, max, or name perplexity-search |
403 as_of_requires_platform_key | the account's own provider key would carry the call | dated search runs on Jevlin's key only |
400 as_of_not_enabled | this router does not serve dated search | use the hosted service |
429 as_of_rate_limited | the shared one-a-second limit | wait retry_after_ms (client) or the Retry-After seconds (direct API), then send it again |