as_of, so nothing published or edited later can appear. Use it to research what was known before an event, to backtest an agent or a forecast, or to cite a page as it stood when a decision was made.
No SDK, CLI command or MCP tool calls Time Machine yet. Every example on this page uses curl against
POST /v1/time-machine/*. Call the same endpoints from your language’s HTTP client.Before you start
- An API key. Time Machine has no keyless endpoint. Send the key in the
X-API-Keyheader. See API keys. - Early Access turned on for your organization. Time Machine is off by default. Until it is on, every call returns
403withFeature not enabledand the codetime_machine_not_enabled. To turn it on, email support@keenable.ai with therequest_idfrom that response, or ask your Keenable contact. Early Access endpoints can change before general availability. See Versioning.
What it costs
A fetch bills each page Keenable looked up in its store, including a page that comes back
not_captured and a page that failed after Keenable started reading it. A page refused before the lookup, such as a URL on a private network, isn’t billed. Reading a version is an ordinary Time Machine fetch. A response that billed something reports what it cost in usage.total, in US dollars. A fetch that billed no page, such as one whose only URL was refused before the lookup, has no usage object, so check for usage before you read it. Listing versions reports a $0 item, so its usage.total.amount is 0. Your organization can have its own prices. See Pricing and Usage.
Time Machine requests count toward your organization’s per-second limit, together with searches and fetches, and have a limit of their own inside it: 20 per second by default. See Rate limits.
Search as of a date
Send a query and anas_of time. Every result is a copy captured at or before as_of. This search asks what was known about the WeWork IPO on 1 September 2019, a month before the IPO was withdrawn:
acquired_at is before as_of:
Example output · results vary
as_of is an RFC 3339 timestamp with a time zone, such as 2019-09-01T00:00:00Z. A date without a time, a relative offset such as 30d or a time in the future returns 400. See Time format.
Narrow the search
Time Machine search takes its own filters:
The search filters from
/v1/search don’t apply here. site, exclude_domains, query_time, mode and moderation return 400 with a hint. See Time Machine search.
List the versions of a page
To see how one page changed, list the times Keenable captured it. The list carries no text, and listing versions costs $0. This call lists the newest version in each month of 2019, two per page:usage object is left out:
collapsekeeps the newest version in eachhour,day,week,monthoryear.none, the default, lists every version.- If
has_moreistrue, send the same body withcursorset tonext_cursorto get the next, older page. - A page Keenable never captured, or captured no copy of in the range, returns
200with an emptyversionslist.
Read a version
To read a version, fetch the page withas_of set to that version’s acquired_at. Fetch returns the newest copy captured at or before as_of, which is the version the list named:
status before you use it:
Fetch takes 1 to 10 URLs and an optional
content.max_chars, and never reads the live page. The fields that /v1/fetch takes for a prompt, a schema, links, images and retrieval return 400. See Time Machine fetch.
Compare a page across dates
To track how a page changed, read it at severalas_of times and compare the copies. Each as_of returns the copy that was current then:
not_captured before Keenable first captured the page, then the copy that was current on each date, with its capture time and title. Each line is a billed page, the not_captured one included. See Fetch for this page’s copies on each date.
Cite a page as it was
A claim taken from a past copy is true of that copy, not of the page today. Cite the URL with the copy’sacquired_at, such as “techcrunch.com/2019/08/14/wework-reveals-ipo-filing, as captured on 2019-08-26”. Readers who open the URL see today’s version, which can differ. See Ground answers with citations.
Common mistakes
API reference
- Time Machine: every request field, response field and error.
- Pricing: the Time Machine SKUs next to search and fetch.
- Research loop: the same search, filter, read and cite steps on today’s web.