- Base URL:
https://llmtimemachine.com/api/v1 - OpenAPI 3.1 specification: https://llmtimemachine.com/openapi.json
- API catalog (RFC 9727): https://llmtimemachine.com/.well-known/api-catalog
- Site index for language models: https://llmtimemachine.com/llms.txt
What you can read
A capsule is a prompt locked so it can never change, plus every answer any model has given to it. Only the capsules their owner made public are served: a private capsule answers 404, as if it did not exist.
A run is one model answering a capsule's prompt: its output (text, or the URL of an image), its reasoning when the model shared it, and its figures (latency, cost, tokens).
Access
- No key, no account. Every endpoint is public and read-only:
GET,HEADandOPTIONS. Any other method answers405. - CORS is open (
Access-Control-Allow-Origin: *), so a web page can call the API directly. - Responses may be cached for up to 60 seconds.
- Lists are paginated with
limitandoffset.
Endpoints
GET /api/v1
The API index: its version, and links to the endpoints and to the specification.
GET /api/v1/capsules
Public capsules, most recently active first (their last completed run, else their creation).
| Parameter | Default | Allowed |
|---|---|---|
limit |
20 | 1 to 100 |
offset |
0 | 0 or more |
curl -s 'https://llmtimemachine.com/api/v1/capsules?limit=5'
Each capsule carries id, title, url (its page on the site), api_url, runs_url, category, capsule_type (chat or agentic), capsule_mode (compare, or chain for a Relay), prompt_type, author, created_at, last_run_at, runs_count and models_count. The counts include completed runs only.
GET /api/v1/capsules/{id}
One public capsule: the fields above, plus prompt_content (the frozen prompt), system_prompt_template, brief (the owner's description, in Markdown), is_locked and retained_run_id (on a Relay, the version the owner keeps).
curl -s 'https://llmtimemachine.com/api/v1/capsules/<id>'
GET /api/v1/capsules/{id}/runs
The capsule's runs, oldest first, as its timeline shows them. Runs the owner hid are left out.
| Parameter | Default | Allowed |
|---|---|---|
limit |
20 | 1 to 50 |
offset |
0 | 0 or more |
Each run carries id, model_id (the model asked), resolved_model (the model that answered), status (completed, failed, timed_out, running or queued), output_type, output_text, image_url, reasoning_text, web_search_used, latency_ms, cost_usd (US dollars), prompt_tokens, completion_tokens, total_tokens, reasoning_tokens, attempts, parent_run_id (on a Relay, the version this step improved), run_origin (browser, agentic or mcp) and created_at. A run made by a coding agent through MCP (https://llmtimemachine.com/docs#mcp) has cost_usd null (nothing was billed), api_equivalent_cost_usd (its cost at API prices) and tokens_estimated.
The figures are those of the run's first attempt, so runs stay comparable with each other. A run that was given more turns afterwards (Continue, Finish) has attempts above 1, and the totals of all its attempts under all_attempts.
Responses
- A list:
{ "data": [ ... ], "pagination": { "limit": 20, "offset": 0, "total": 57, "next": "<url of the next page, or null>" } } - One capsule:
{ "data": { ... } } - An error:
{ "error": { "status": 404, "message": "Capsule not found" } }, with the same HTTP status:400for a bad parameter,404for an unknown or private capsule,405for a method other thanGET,503when the archive can't be reached.
Markdown for agents
The home page and this page answer in Markdown to a request that sends Accept: text/markdown. They also live at https://llmtimemachine.com/index.md and https://llmtimemachine.com/developers.md. A page that doesn't exist answers 404 with a short Markdown body under the same header.
curl -s -H 'Accept: text/markdown' 'https://llmtimemachine.com/'
Not in the API yet
Launching runs, private capsules and anything tied to an account need an authenticated API, with a key per user. It doesn't exist yet: runs are launched on the site, with your own OpenRouter key. The MCP server at https://llmtimemachine.com/mcp lets a coding agent add runs it made in its own session; it is invite-only for now (https://llmtimemachine.com/docs#mcp).