The table of contents
v1/index.json is where a reader of LedgerMath's data API starts. It gives the API's rules in words; the addresses of the list of every Series, of the price files and of the schemas; benchmarks' lists of Series with their counts, as many as fit its budget; templates for the address of a benchmark's list, of a Series file and of a blob; and the newest rounds of boots.
Where it is
- Address: https://api.ledgermath.com/v1/index.json, the one address a reader needs to know.
- Reached from: the list of every Series, each benchmark's list, each Series file and each month file name it (
index). - Links to: the list of every Series (
series.url); the benchmarks' lists it names (benchmarks.list[].url), as many as fit its budget,benchmarks.unlistedsaying how many lists it does not name; the list of any benchmark that has one, by the benchmark's name (benchmarks.benchmark_file_url_template); any Series' file, by the Series' id (series.series_file_url_template); the price files (prices.files[].url, the newest also atprices.newest.url); the schemas (schemas[].url); the summaries of the first 12 boots of each of the newest rounds (recent_rounds.rounds[].by_boot[].boot_summary; a round's figures count all its boots), and of eight of the boot summaries in no round, the last by path, when the API serves them (recent_rounds.left_out.summaries[].boot_summary); and any blob, by its hash (evidence.blob_url_template). - Changes: with the data; no promise covers its bytes.
- Schema: LedgerMath data API, version 1: the table of contents, served by the API.
What its schema says
v1/index.json: where the list of Series, each benchmark's list of Series, the price files, the schemas, the evidence and the docs are.
Start here. Every address a reader needs is written in the files, so a reader never builds one from an id; there are three exceptions, each given as a template: a blob named by hash inside a Run file, whose address is evidence.blob_url_template; a Series' file, whose address is series.series_file_url_template, for a reader who holds the Series' id and nothing else; and a benchmark's list, whose address is benchmarks.benchmark_file_url_template, for a reader who holds the benchmark's name and nothing else. Version 1 only ever gains fields: a field, once in a v1 file, keeps its name, its type and its meaning, and a reader ignores any field it does not know. That is why no object in this schema, nor in series-list, benchmark, series and series-month, forbids members it does not list. A change that would break a reader is published as v2, beside v1. The price files are the exception: each is the day's price file as LedgerMath keeps it, byte for byte, and follows its own schema, ledgermath.prices/1, whose root and LedgerMath's own objects are closed.
Example
An excerpt, made by the generator, of the file at https://api.ledgermath.com/v1/index.json (30,871 bytes) as LedgerMath's fixed sample took it on 2026-11-26; that address serves the file as it is now.
{
"schema": "ledgermath.api.index/1",
"schema_url": "https://api.ledgermath.com/v1/schemas/index.schema.json",
"url": "https://api.ledgermath.com/v1/index.json",
"about": "LedgerMath runs small benchmarks on real AWS machines several times a day and keeps every execution as a Run. A Series is the Runs of one benchmark, parameter s…",
"versioning": "Version 1 only ever gains fields. A field, once in a v1 file, keeps its name, its type and its meaning, and a reader ignores any field it does not know: that is…",
"figures": "Every number is exactly as the Methods' Derivations hold it: nothing is rounded, and nothing is computed that the Derivations do not hold, apart from counts of …",
"months": "Each Series is split by month: every Run's point is in the file of the month the Run started in (UTC, by the Run's start), with series v1's entry for each pair …",
"layout": 2,
"docs": "https://github.com/smrdotgg/ledgermath/blob/main/README.md#the-data-api",
"newest_run_started_at": "2026-11-26T17:07:26.339184401Z",
"recent_rounds": {
"about": "A round is the boots that belong together in time, worked out from the boot summaries alone, so the same boot summaries always give the same rounds: the boots i…",
"rounds": [
{
"started_at": "2026-11-26T16:11:43.263144386Z",
"boots": 5,
"runs": 187,
"failed_runs": 0,
"runs_in_no_series": 0,
"build_failures": 0,
"not_run": 0,
"instance_types": ["c6i.8xlarge", "m5.large", "c8i.2xlarge", "c8a.2xlarge", "i4i.2xlarge"],
"by_boot": [
{
"boot_summary": "https://api.ledgermath.com/boots/2026/11/26/d0b36b2c-a375-41f7-b7a8-75e4a175411c.json",
"instance_type": "c6i.8xlarge",
"started_at": "2026-11-26T16:11:43.263144386Z",
"runs": 37,
"failed_runs": 0,
"runs_in_no_series": 0,
"build_failures": 0,
"not_run": 0
}
]
}
],
"left_out": {"count": 0, "summaries": []}
},
"series": {
"url": "https://api.ledgermath.com/v1/series.json",
"schema_url": "https://api.ledgermath.com/v1/schemas/series-list.schema.json",
"count": 187,
"series_file_schema_url": "https://api.ledgermath.com/v1/schemas/series.schema.json",
"month_file_schema_url": "https://api.ledgermath.com/v1/schemas/series-month.schema.json",
"series_file_url_template": "https://api.ledgermath.com/v1/series/{id}.json",
"about": "The list of every Series (url) gives one row per Series, and each benchmark's list (benchmarks) that benchmark's rows; a row gives the Series' identity, a summa…"
},
"benchmarks": {
"about": "Each benchmark's Series are listed in a file of their own, v1/benchmarks/<benchmark>.json: rows of the list of every Series, v1/series.json, under a head like t…",
"schema_url": "https://api.ledgermath.com/v1/schemas/benchmark.schema.json",
"benchmark_file_url_template": "https://api.ledgermath.com/v1/benchmarks/{benchmark}.json",
"count": 14,
"unlisted": 0,
"left_out": 0,
"list": [
{
"name": "compressed_memory_read",
"url": "https://api.ledgermath.com/v1/benchmarks/compressed_memory_read.json",
"series": 5,
"runs": 310,
"newest_run_started_at": "2026-11-26T16:54:33.278038985Z"
}
]
},
"prices": {
"schema_url": "https://api.ledgermath.com/v1/schemas/prices.schema.json",
"newest": {
"date": "2026-11-26",
"path": "prices/2026/11/26/aws.json",
"url": "https://api.ledgermath.com/v1/prices/2026-11-26.json"
},
"files": [
{
"date": "2026-11-11",
"path": "prices/2026/11/11/aws.json",
"url": "https://api.ledgermath.com/v1/prices/2026-11-11.json"
}
]
},
"schemas": [
{
"name": "index",
"describes": "v1/index.json",
"url": "https://api.ledgermath.com/v1/schemas/index.schema.json"
}
],
"evidence": {
"about": "The evidence is served under the same address as the API: each point links its Run file (evidence), at runs/<yyyy>/<mm>/<dd>/<id>.json, and its boot's summary (…",
"blob_url_template": "https://api.ledgermath.com/blobs/sha256/{hex}"
}
}
What the excerpt leaves out, in 13 places
The excerpt is made by one rule, applied at every depth, and changes nothing else. A list of more than one element keeps its first, unless every element is a string, a number, true, false or null and the list takes at most 120 characters as JSON: then it is kept whole. An object keeps every member its schema names, but of members whose schemas are each nothing but a reference to one and the same definition (such as a request's eight phases), it keeps the first. Of an object's members whose names its schema does not fix, it keeps the first, then each next one while the values kept, as excerpted, take at most 300 bytes as JSON, and none after the first that does not fit. A string longer than 160 characters keeps its first 160 and ends with …
about: its first 160 of 565 charactersversioning: its first 160 of 656 charactersfigures: its first 160 of 828 charactersmonths: its first 160 of 2,191 charactersrecent_rounds.about: its first 160 of 3,639 charactersrecent_rounds.rounds: its first element of 8recent_rounds.rounds[0].by_boot: its first element of 5series.about: its first 160 of 666 charactersbenchmarks.about: its first 160 of 2,322 charactersbenchmarks.list: its first element of 14prices.files: its first element of 16schemas: its first element of 7evidence.about: its first 160 of 531 characters
Fields
Each field is named by its path from the top of the file: a.b is the member b of the object a, [] stands for each element of a list, * for a member whose name is not fixed (its object's type says when the names must match a pattern), and a name with a dot in it is written ["p99.9"]. Under each path are its type and whether it is required (present wherever the object holding it is) or optional (it may be absent). An object said to have no other members holds none but those listed for it; any other object may hold members this page does not list. A shape used in more than one place is described once, under Shared shapes, and each place links to it. Version 1 only ever gains fields, so a file may hold a field this page does not list yet: a reader ignores it.
schema
always "ledgermath.api.index/1" · required
What this file is, and which version of its shape.
schema_url
string matching ^https?:// · required
The address of this schema.
An address: an absolute URL starting http:// or https://.
url
string matching ^https?:// · required
This file's own address.
An address: an absolute URL starting http:// or https://.
about
string · required
What LedgerMath and this API are, in words.
versioning
string · required
The rule the API's own v1 files keep, in words: v1 only ever gains fields; and its exception, the price files, which follow their own schema, closed.
figures
string · required
How the numbers are written, in words: exactly as the Derivations hold them, never rounded.
months
string · required
How each Series is split by month, in words, and exactly when a month file's bytes change: for a given layout, for four causes only, a past month included, so a reader holding a copy compares the month file's sha256, which the Series' file gives, before trusting it; and what a reader does when a month file it fetched does not match its Series file.
layout
integer, 1 or more · required
How the files are written, as a number.
It increases when LedgerMath changes how the files are written (the order of a file's fields, the white space between them, a field every file of a kind gains), so that any file's bytes may change without one of the four causes months gives; for a given layout, those four are the only causes. Editing a schema's words does not change it, nor do the data, nor a field this file alone gains: this file changes with the data at every update, and no other file's bytes change with it. A reader holding copies of month files made under another layout fetches them again.
docs
string matching the pattern its schema gives · required
Where the API is described in words: an absolute https address with a host, and a path, query or fragment if any, written with the characters RFC 3986 allows.
newest_run_started_at
string matching ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$ or null · required
When the newest Run of any Series started (UTC, to the nanosecond, as the Run records it): how far the data reach.
Null when there is no Series. No file of the API carries the time it was made; the same data give the same bytes.
UTC, to the nanosecond, as the Run or the boot summary it is read from records it.
recent_rounds
object · required
What was measured most recently: the newest rounds of boots, newest first, each with its counts in all and by boot, and the address of each boot's summary; and the boot summaries left out of every round, with why.
about says what a round is, how it is worked out from the boot summaries alone, what failed means, and when a round shown changes: any of them may, at a later update, not only the newest.
recent_rounds.about
string · required
What a round is, what each of its figures counts and when a round shown changes, in words. Its first two sentences state the rule a round is worked out by and how many rounds are given.
recent_rounds.rounds
list of objects · required
The newest rounds, newest first: as many as about says, or fewer when there are fewer. Empty when no boot summary is read into a round.
Each element: One round of boots, with its figures in all, over every boot of the round, and by boot, for the first 12 (each figure in all is the sum of by_boot's when the round has at most 12 boots).
recent_rounds.rounds[].started_at
string matching ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$ · required
When its first boot started (UTC, to the nanosecond), as that boot's summary records it.
UTC, to the nanosecond, as the Run or the boot summary it is read from records it.
recent_rounds.rounds[].boots
integer, 1 or more · required
How many boots it holds.
recent_rounds.rounds[].runs
integer, 0 or more · required
How many Runs the boots left: the Runs their summaries list.
recent_rounds.rounds[].failed_runs
integer, 0 or more · required
How many of those Runs are failed: not counted by Method requests v1, for a Run of a Series that Method derives (a Series of requests), and by Method series v1, for a Run of any other Series.
So a Run of a Series of requests that exited 4, a request having failed, is failed only when requests v1 does not count it, as the Series' own figures say. Each failed Run is a point with counted false and its failure in its Series' month file, under that Method.
recent_rounds.rounds[].runs_in_no_series
integer, 0 or more · required
How many of those Runs are in no Series: their Run file is not in the evidence, or no Method could read it (the list of Series names each such file under each Method's unreadable).
Neither counted nor failed.
recent_rounds.rounds[].build_failures
integer, 0 or more · required
How many builds failed, or binaries could not be started, as the boots' summaries list them: an execution that never started has no Run.
recent_rounds.rounds[].not_run
integer, 0 or more · required
How many executions the boots were to run and did not, as their summaries list them: each one benchmark, build and parameter set, with why.
recent_rounds.rounds[].instance_types
list of at most 12 elements, each element: string matching ^[A-Za-z0-9._-]{1,64}$ or null · required
The instance type of each boot by_boot lists, in the order the boots started, as its summary names it (1 to 64 letters, digits, dots, hyphens or underscores); null for a boot whose summary names none.
Each element: An instance type as a summary in a round names it: 1 to 64 letters, digits, dots, hyphens or underscores, so it is written as many bytes as characters.
recent_rounds.rounds[].by_boot
list of objects, at most 12 elements · required
The boots of the round in the order they started, the first 12 at most: the round's figures count every boot, boots how many.
Each element: One boot of a round: its summary's address, and its figures.
recent_rounds.rounds[].by_boot[].boot_summary
string matching ^https?:// · required
The boot's summary: every Run it left with how its binary exited, every build that failed and every execution that was not run, with why.
An address: an absolute URL starting http:// or https://.
recent_rounds.rounds[].by_boot[].instance_type
string matching ^[A-Za-z0-9._-]{1,64}$ or null · required
The instance type the boot ran on, as its summary names it: 1 to 64 letters, digits, dots, hyphens or underscores, a summary giving anything else being in no round; null when it names none.
An instance type as a summary in a round names it: 1 to 64 letters, digits, dots, hyphens or underscores, so it is written as many bytes as characters.
recent_rounds.rounds[].by_boot[].started_at
string matching ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$ · required
When the boot started (UTC, to the nanosecond), as its summary records it.
UTC, to the nanosecond, as the Run or the boot summary it is read from records it.
recent_rounds.rounds[].by_boot[].runs
integer, 0 or more · required
How many Runs the boots left: the Runs their summaries list.
recent_rounds.rounds[].by_boot[].failed_runs
integer, 0 or more · required
How many of those Runs are failed: not counted by Method requests v1, for a Run of a Series that Method derives (a Series of requests), and by Method series v1, for a Run of any other Series.
So a Run of a Series of requests that exited 4, a request having failed, is failed only when requests v1 does not count it, as the Series' own figures say. Each failed Run is a point with counted false and its failure in its Series' month file, under that Method.
recent_rounds.rounds[].by_boot[].runs_in_no_series
integer, 0 or more · required
How many of those Runs are in no Series: their Run file is not in the evidence, or no Method could read it (the list of Series names each such file under each Method's unreadable).
Neither counted nor failed.
recent_rounds.rounds[].by_boot[].build_failures
integer, 0 or more · required
How many builds failed, or binaries could not be started, as the boots' summaries list them: an execution that never started has no Run.
recent_rounds.rounds[].by_boot[].not_run
integer, 0 or more · required
How many executions the boots were to run and did not, as their summaries list them: each one benchmark, build and parameter set, with why.
recent_rounds.left_out
object · required
The boot summaries of the evidence that are in no round: no boot summary stops the files being made, and one the rounds cannot be told from is left out and counted here, whatever it holds.
A boot left out is in no round, so a round within the gap of its start may be missing it.
recent_rounds.left_out.count
integer, 0 or more · required
How many boot summaries are left out, of every day.
recent_rounds.left_out.summaries
list of objects, at most 8 elements · required
The newest of them by path (the day its boot started, then its name), newest first, 8 at most; each one sentence of a fixed few says why.
recent_rounds.left_out.summaries[].path
string matching ^boots/[\x20-\x7e]*$, at most 120 characters · required
The file's path in the evidence, under boots/: for a summary, boots/<yyyy>/<mm>/<dd>/<name>.json, the day its boot started and its name.
Each byte of it that is not printable ASCII, and each %, double quote and backslash, is written as % and two hex digits, so each character is one byte; one longer than 120 characters is cut to its first 101, then ..., then the first 16 hex digits of the SHA-256 of the whole.
recent_rounds.left_out.summaries[].boot_summary
string matching ^https?:// or null · required
The summary's address, or null when the API does not serve it.
An address: an absolute URL starting http:// or https://.
recent_rounds.left_out.summaries[].why
string · required
Why it is in no round: one of a fixed few sentences.
series
object · required
The list of Series.
series.url
string matching ^https?:// · required
v1/series.json: one row per Series, each with the address of its own file.
An address: an absolute URL starting http:// or https://.
series.schema_url
string matching ^https?:// · required
The schema of v1/series.json.
An address: an absolute URL starting http:// or https://.
series.count
integer, 0 or more · required
How many Series it lists.
series.series_file_schema_url
string matching ^https?:// · required
The schema of one Series' file, v1/series/<id>.json: its summary, its newest Runs and its months.
An address: an absolute URL starting http:// or https://.
series.month_file_schema_url
string matching ^https?:// · required
The schema of one month of a Series, v1/series/<id>/<yyyy-mm>.json: every point of the Runs that started that month.
A Series' file gives the address, sha256 and size of each of its months; months, above, says when a month file changes.
An address: an absolute URL starting http:// or https://.
series.series_file_url_template
string matching ^https?://.*/v1/series/\{id\}\.json$ · optional
A Series' file's address: replace {id} with the Series' id, 12 lower-case hex digits, as a row (id) gives it, in the list of every Series or a benchmark's list, and as a Series' file and a citation of the Series name it.
For a reader who holds an id and nothing else; every other address of a Series is written in the files. A Series' file gives the address of each of its month files. Written since layout 2; a table of contents written before it lacks it.
series.about
string · optional
Where the Series are listed, and what a Series' id is and where a reader finds one, in words. Written since layout 2.
benchmarks
object · optional
Each benchmark's list of Series: a file per benchmark, v1/benchmarks/<benchmark>.json, holding that benchmark's rows of the list of every Series, so that a reader finds a Series without fetching the whole list.
about says what each file holds, which benchmarks list names, and what is left out of every one. Written since layout 2; a table of contents written before it lacks it.
benchmarks.about
string · required
What a benchmark's list holds, which benchmarks and Series have none, which benchmarks list names, what each entry of list gives, and what a reader does when the files it fetched are of different updates, in words.
benchmarks.schema_url
string matching ^https?:// · required
The schema of a benchmark's list, v1/benchmarks/<benchmark>.json.
An address: an absolute URL starting http:// or https://.
benchmarks.benchmark_file_url_template
string matching ^https?://.*/v1/benchmarks/\{benchmark\}\.json$ · required
A benchmark's list's address: replace {benchmark} with the benchmark's name, as a row (benchmark) gives it.
Every benchmark whose name is 1 to 64 characters, a lower-case letter, then lower-case letters, digits and underscores, has its list, whether list names it or not; so a reader holding the name, which every row and every Series' file gives (benchmark), reaches the list.
benchmarks.count
integer, 0 or more · required
How many benchmarks have a list.
benchmarks.unlisted
integer, 0 or more · required
How many of them list does not name, being past its budget: each still has its list, at benchmark_file_url_template.
benchmarks.left_out
integer, 0 or more · required
How many Series are in no benchmark's list, for any reason about gives; each is in the list of every Series, v1/series.json, and has its own file.
benchmarks.list
list of objects · required
One entry per benchmark that has a list, by name, as many as fit in the budget about gives.
Each element: One benchmark's list of Series: where it is, and what it lists.
benchmarks.list[].name
string matching ^[a-z][a-z0-9_]{0,63}$ · required
The benchmark's name, as its Runs give it: 1 to 64 characters, a lower-case letter, then lower-case letters, digits and underscores.
benchmarks.list[].url
string matching ^https?:// · required
The address of its list, v1/benchmarks/<benchmark>.json.
An address: an absolute URL starting http:// or https://.
benchmarks.list[].series
integer, 0 or more · required
How many Series its list holds.
benchmarks.list[].runs
integer, 0 or more · required
How many Runs those Series hold, counted or not.
benchmarks.list[].newest_run_started_at
string matching ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$ or null · required
When the newest Run of those Series started; null when its list holds none.
UTC, to the nanosecond, as the Run or the boot summary it is read from records it.
prices
object · required
The daily price files: what AWS publicly charges for what LedgerMath measures, one file a day, each byte for byte as LedgerMath keeps it.
A price is cited by the price file's path (path), the SKU and the rate code.
prices.schema_url
string matching ^https?:// · required
The schema of a price file (ledgermath.prices/1). A price file is a record, closed by its own schema.
An address: an absolute URL starting http:// or https://.
prices.newest
object (shape price_file) or null · required
The newest price file, or null when there is none.
prices.files
list of objects (shape price_file) · required
Every price file held, oldest first.
schemas
list of objects · required
The JSON schema of each kind of file in v1, and of one line of a Run's stdout (events), which the Methods' definitions name.
schemas[].name
string · required
The schema's name: its address ends v1/schemas/<name>.schema.json.
schemas[].describes
string · required
The files it describes, by path from the host's root; for a schema of what is not a file of v1, what it describes, in words.
schemas[].url
string matching ^https?:// · required
The schema's address.
An address: an absolute URL starting http:// or https://.
evidence
object · required
Where the evidence behind the numbers is: Run files, boot summaries and blobs, served under the same address as the API, never copied into its files.
evidence.about
string · required
Where the evidence is served and how a reader reaches each part of it, in words: a point's Run file and boot summary, and the blobs a Run file names by hash.
evidence.blob_url_template
string matching ^https?://.*/blobs/sha256/\{hex\}$ · required
A blob's address: replace {hex} with the 64 hex digits of a sha256:<hex> a Run file names (its binary, source, runner, stdout, stderr, dump indexes and their sections).
Shared shapes
… stands for the path at which the shape is used; each shape gives every place it is used.
Shape price_file
object
One price file held: the date it is filed under, its own path, and its address in the API.
Used at prices.newest and prices.files[].
….date
string matching ^[0-9]{4}-[0-9]{2}-[0-9]{2}$ · required
The UTC date the prices were fetched.
….path
string matching ^prices/[0-9]{4}/[0-9]{2}/[0-9]{2}/aws\.json$ · required
The price file's own path, prices/<yyyy>/<mm>/<dd>/aws.json: the name a price citation gives it.
….url
string matching ^https?:// · required
Its address: v1/prices/<yyyy-mm-dd>.json.
An address: an absolute URL starting http:// or https://.