| layer | routes | reflects | rebuilds | stamp to check |
|---|---|---|---|---|
| backlog | api/dataset | the grading backlog as of the latest close | ≈5–15 min after each close | built_at, as_of_close |
| open epoch | api/current | answers submitted since the last close | live, 60 s cache | built_at, open_epoch |
| seats | api/graders, api/seats | panel seats for the open epoch + backlog | when panels are drawn after a close | at |
| similarity build | all v2 routes | every answer in closed epochs ≤ as_of_close | by an off-node job, ≥1 h after each close (after the post-close quiet period); via minepoa.com allow up to 60 s more (edge cache) | build_id, as_of_close |
| outcomes | outcome, settled_epoch fields | settlements recorded in each close's emission (exp_settled) | imported ≤ a few min after each close | — |
| epoch times | open_ts, close_ts | each close's emission timestamp (exp_epoch_close) | imported ≤ a few min after each close | null = not imported yet |
api/current, whose famTop/famN/famAuthors fields come from a live lookup against the latest build.build_id ⇒ same bytes. Record the build_id alongside anything you derive.https://minepoa.com/tools/answer-sort/. All routes are HTTP GET (plus POST api/answers for long id lists), return JSON, need no auth and are read-only. Responses over 2 KB are gzip-compressed if you send Accept-Encoding: gzip.build_id and as_of_close: the similarity build it was computed against (one build per close; api/build describes the live one). This holds on every data route: dataset, authors, current, graders, seats, template and all v2 routes. Rules:fields / rowFields); existing names are never renamed, removed or re-typed within v1. Read by name, ignore what you don't know.build_id, same data for the v2 routes: a v2 response is a pure function of (build_id, query). Backlog routes (dataset, authors, graders, seats, current) also change with the explorer index between builds; there build_id names the build whose fam* annotations the body carries (dataset/authors: the build the backlog snapshot was annotated with, also kept as sim_build_id. The snapshot is re-annotated, with a new ETag, within about 60 s at origin of a new similarity build going live (up to about 2 min through the minepoa.com edge cache), as well as on every queue rebuild; current: the live build when the 60 s snapshot was taken; graders/seats/template: the live build when served).build_id is null only before the first similarity build exists.api/health is ops telemetry, not part of the contract.fields (v2) or rowFields / authorFields (v1). Read a value by its name's index in that list, never by a fixed position, because later versions may append fields.limit defaults to 500, maximum 1000 on the v2 lists (answers, family, families, edges) and 2000 on the paged backlog routes (dataset, authors, current, which are served from memory). A larger value is clamped. A response with next_cursor: null is the last page; otherwise pass cursor=<next_cursor> with the same other parameters. Sort orders are fixed and deterministic, so pages never overlap or skip rows within one build.text=1, which adds a trailing text field.api/dataset ≈ 4.3 MB (≈ 25k rows); api/current ≈ 0.6 MB; api/graders ≈ 0.2 MB; a v2 api/answers page at limit=1000 is ≈ 0.21 MB without text and ≈ 0.67 MB with text=1; api/families ≈ 0.16 MB and api/edges ≈ 0.14 MB at limit=1000 (half of what was measured at 2000 rows on the 11-11 build). Further caps: neighbors k ≤ 200; ids ≤ 500 txids per request (≤ 200 on a GET URL; use POST for more); template k ≤ 3.| request | cost |
|---|---|
api/dataset unpaged (≈ 4 MB) | 20 |
api/dataset paged (limit/cursor) | 4 |
api/current | 5 |
v2 lists (answers, family, families, edges) | 1 per 250 rows requested (default 500 → 2; max 1000 → 4), +2 with text=1 |
POST api/answers | same as the GET with the same parameters (a rejected body costs 1) |
api/neighbors | 1; 3 with by=raw |
other api/* | 1 |
pages (/, /docs, /families) | 0.5 |
x-ratelimit-remaining. When the bucket is empty you get 429 with Retry-After (seconds) and {"error":"rate limited","scope":"ip","retry_after_s":N}. Wait that long, then continue.api/health → db_sem). Over the cap you get 429, scope":"global", Retry-After: 2. Cached answers (below) are never counted against it.ETag. Send it back as If-None-Match and you get 304 Not Modified, which costs no database work and only 0.5 tokens. A conditional request must still have its full cost available in your bucket, and pays the rest only if a full body comes back. v2 responses are build-scoped: Cache-Control: public, max-age=300. The data only changes when a new build lands, about once per close (check api/build). To pin a URL to one build, add &build=<build_id>: the response is then immutable (max-age 1 day), and once that build is replaced you get 409 {"error":"build changed","build_id":"…"}, your cue to refresh. Backlog routes: max-age=60; api/current: max-age=30. Identical requests from different clients are also served from a server-side cache.GET response, keyed by the full URL, for as long as the origin's own Cache-Control above allows. It passes that header through unchanged, also on a hit (x-poa-edge: as-hit). It stores only 200s marked public with an ETag, never no-store responses (errors, api/health, POST). Your If-None-Match on an edge hit gets a 304 from the edge. POST requests are never cached at the edge; they always reach the origin.api/current 30 s), plus the stale-while-revalidate window while a refresh is fetched.&build=) change with every build, so they're never stale.Cache-Control: no-cache from your client, and pin v2 queries with &build= from api/build.If-None-Match on each load, waits out 429 Retry-After, and falls back to the cached copy when offline.api/build changes.409.limit=1000 is about 190 requests (4 tokens each without text). At the 2 tokens/s refill that's one request every 2 s, about 6½ minutes sequentially; see recipe 1. Hard page caps: 1000 rows on v2 lists, 2000 on paged dataset/authors/current; neighbors k ≤ 200; ids ≤ 500.429 rate limited (see above); 409 pinned build no longer current; 405 a method other than GET (or POST on api/answers), with an Allow header; 413/415 a POST body over 64 KB / not application/json; 400 for a malformed parameter (a bad filter value is never silently ignored); 404 in two forms: {"error":"not found"} means the path matched no route (a txid must be exactly 64 lowercase hex, a family id 16; no trailing slash), while {"error":"answer not in the live build"} / "family not in the live build" means the id is well-formed but not in this build (for example an answer from the open epoch, or one newer than as_of_close: use api/current for those); 503 before the first similarity build exists; 502 if the database is unavailable. The body is always {"error": "…"}.| route | what | scope |
|---|---|---|
api/dataset | the grading backlog, one compact payload | backlog as of latest close |
api/current | answers in the open epoch | open epoch |
api/graders | graders and their seat counts | open epoch + backlog |
api/seats/<addr> | one grader's ungraded seats | open epoch + backlog |
api/template/<txid> | one queued answer vs the same author's other queued answers | backlog |
api/build | the live similarity build: params, row counts, KPI | build |
api/answers | every closed-epoch answer, filterable | all time |
api/answer/<txid> | one answer + its families + two neighbor columns | all time |
api/neighbors/<txid> | ranked neighbors of one answer | all time |
api/families | sentence families (≥2 members) | all time |
api/family/<fam> | members of one family | all time |
api/edges | stored similarity edges, for your own clustering | all time |
api/epochs | per-epoch counts and times | all time |
api/datasetThe backlog: every answer still waiting for grade quorum after the latest close, plus a row for each author. No parameters. ≈ 4.3 MB; cached until the next rebuild.
GET api/dataset
{ "built_at": "2026-11-11T13:17:56.159Z", "sim_build_id": "69.13563e9b.14", "as_of_close": 69, "open_epoch": 70, "ttl": 16, "quorum": 4,
"chain": "poa-mainnet-1", "note": "…", "source": "db",
"authorFields": ["addr","pass","fail","exp","first","lastPass","lastFail","eligible","established","queued","recvMean"],
"authors": [["poa1…", 0, 1, 2, 38, null, 39, 0, 0, 1, null], …],
"rowFields": ["id","author","since","expiresAt","kind","len","words","uniq","nums","nG","sMean","sMin","sMax","dup","selfSim","famTop","famN","famAuthors","clN"],
"rows": [["00018e62…", 3510, 66, 82, "short", 316, 56, 0.714, 0, 2, 0.5, 0, 1, 1, 0.191, "c22e73166382f1bd", 39, 13, null], …] }
Note: rows[].author is an index into authors, not an address.
Paged form (recommended): api/dataset?limit=2000&cursor=<next_cursor>. Rows come sorted by id, the cursor is the last id of the previous page, limit is 1–2000 (default 500), and the cost is 4 tokens instead of 20. These pages come from the in-memory backlog snapshot, so they cost no database work. In the paged form author is the address, and the response adds total_rows and next_cursor. The author table pages separately: api/authors?limit&cursor (sorted by addr; cursor = last addr).
GET api/dataset?limit=2
{ "build_id": "70.efb0d9ad.15", "built_at": "…Z", "sim_build_id": "70.efb0d9ad.15", "as_of_close": 70, …, "total_rows": 25838,
"rowFields": ["id","author",…], "rows": [["00018e62…", "poa1Bnbv…", 66, 82, "short", …], …], "next_cursor": "0002…" }
api/currentAnswers submitted in the open epoch: gradeable now, but not yet in the backlog or the similarity build. No parameters. Built live from the open epoch's transactions, cached 60 s. Optional paging: ?limit=1–2000&cursor=<last id> (rows sorted by id; response adds total_rows and next_cursor). It uses the same rowFields as the dataset minus clN, and author here is an address. nG is 0 and the score fields are null, because open-epoch grades are sealed. famTop/famN/famAuthors come from looking up each answer's sentences in the latest build's families (null if it matches none).
GET api/current
{ "build_id": "69.9a16650f.14", "as_of_close": 69, "open_epoch": 70, "ttl": 16, "built_at": "…Z", "source": "db",
"rowFields": ["id","author","since","expiresAt","kind","len","words","uniq","nums","nG","sMean","sMin","sMax","dup","selfSim","famTop","famN","famAuthors"],
"rows": [["0013a649…", "poa1FJCX…", 70, 86, "current", 439, 76, 0.789, 0, 0, null, null, null, 1, 0, null, null, null], …] }
api/gradersEvery account that can grade, and how many seats each holds. No parameters. Cached 30 s.
GET api/graders
{ "build_id": "69.9a16650f.14", "as_of_close": 69, "lanes": ["poa1…", …], "community": ["poa1…", …], "open_epoch": 70,
"seat_index": { "poa112WB…": { "total": 53, "fetched": 53, "panel_seats": 53, "current": 2, "current_panel": 2, "at": "2026-11-11T17:56:41.000Z" }, … },
"source": "db" }
api/seats/<addr>The answer ids where <addr> holds a seat it has not graded yet (backlog and open epoch together). Path param: a PoA address (poa1…). Open seats only: once a grade is sealed and the node redraws its seat index, that seat leaves this list, so total: 0 after you've sealed everything is expected. For history, use api/answers?ids=… (each row's outcome).
GET api/seats/poa112WBsW8xZKEH7Kd2CXdFGD321QZx4LsWRKsMtQVrymHG
{ "build_id": "72.a39a8ade.17", "as_of_close": 72, "addr": "poa112WB…", "total": 55, "fetched": 55, "ids": ["04d81abb…", …], "at": "2026-11-11T17:56:41.000Z", "source": "db" }
api/template/<txid>?k=1..3One backlog answer's text, plus its k most similar answers among the same author's other backlog answers (compares up to 60). k: integer, default 1, max 3. For similarity across all authors and epochs, use api/neighbors.
GET api/template/594dec80…?k=1
{ "a": { "id": "594dec80…", "from": "poa1BmkA…", "epoch": 60, "ts": 1794177879, "text": "…", "words": ["saffron","terrace","ember"], "words_missing": false },
"author": "poa1BmkA…", "author_queued": 9, "compared": 8,
"matches": [{ "id": "…", "from": "poa1BmkA…", "epoch": 61, "ts": …, "text": "…", "words": […], "words_missing": false, "sim": 0.106 }], "source": "db" }
{"error":"not in the queue snapshot"} if the answer isn't in the backlog.
Every v2 response below also carries build_id, as_of_close, corpus, and floors (the storage bounds from Thresholds).
api/buildDescribes the live similarity build. No parameters.
GET api/build
{ "build_id": "69.13563e9b.14", "as_of_close": 69, "built_at": "2026-11-11T15:01:00.008Z", "code_sha": "13563e9b", "vocab_sha": "6314c4f524d52e6d",
"params": { "shingle": 3, "mask": "vocab", "sent_min_tokens": 5, "shingle_hash": "fnv1a32", "minhash": 128, "lshA": [20,5], "lshB": [32,4],
"EDGE_FLOOR": 0.3, "K_STORE": 20, "CL_THRESH": 0.5, "FAM_PAIR_CAP": 200, "PREV_WINDOW": 50, "minhash_seed": 920 },
"n_answers": 187181, "rows": { "ins_answer": 187181, "ins_fam": 14310, "ins_sent": 206799, "ins_edges": 593871, "ins_cl": 2417 },
"kpi": { "answers_in_multi_author_families": 56070, "share": 0.2995 } }
api/answersEvery answer in a closed epoch ≤ as_of_close, sorted by append order (the order the build absorbed them: epoch, then txid). Filters combine with AND.
| param | type | default | meaning |
|---|---|---|---|
epoch_from, epoch_to | int | all | inclusive epoch range |
author | poa1 address | — | exact author |
ids | comma-separated txids | — | exactly these answers (at most 500, and a GET URL fits about 200; more than 500 or any malformed id → 400). For longer lists use POST |
fam | 16-hex family id | — | answers that are members of this family (not just those whose fam_top it is) |
cl | 64-hex txid (cluster id) | — | answers in this cluster |
min_after_open, max_after_open | int seconds | — | bounds on s_after_open. Rows where it's null (open time unknown) are excluded when either bound is set. |
min_after_first, max_after_first | int seconds | — | bounds on s_after_first |
min_multi_fams | int | — | at least this many multi-author families |
text | 1 | off | add the answer text as a trailing field |
limit | int | 500 | 1–1000 |
cursor | int | — | from next_cursor |
GET api/answers?epoch_from=58&epoch_to=58&limit=2
{ "build_id": "69.13563e9b.14", "as_of_close": 69, "corpus": "…", "floors": {…},
"fields": ["id","author","epoch","ts","s_after_open","s_after_first","n_sent","n_sh","fam_top","fam_n","fam_authors","n_multi_fams","cl","cl_n","cl_authors","outcome","settled_epoch","text_complete"],
"rows": [["00195f54…", "poa1Gtaf…", 58, 1794126912, null, 986, 4, 61, null, null, null, 0, null, null, null, "expired", 74, 1], …],
"next_cursor": 147074, "notes": {…} }
api/answersThe same query as GET api/answers, for id lists too long for a URL. Send Content-Type: application/json and a body (≤ 64 KB) with ids, an array of 1–500 lowercase 64-hex txids, plus optionally any of the GET parameters above as strings or numbers (epoch_from, text, limit, cursor, build, …). A body field overrides the same query-string parameter; an unknown field is a 400. Same response, same rate-limit cost, same next_cursor paging (repeat the body with "cursor"). POST responses are Cache-Control: no-store and carry no ETag; the server-side cache still serves identical repeats.
POST api/answers
Content-Type: application/json
{"ids": ["9e1e5788…", "0b2572da…", …], "text": 1}
→ { "build_id": "72.a39a8ade.17", "as_of_close": 72, …, "fields": [same as GET], "rows": [ … ], "next_cursor": null }
api/answer/<txid>?text=1One answer (same fields as api/answers), every family it belongs to, and two neighbor columns, same_author and everyone (other authors). Both are cut from the top 40 neighbors ranked as in api/neighbors, with at most 10 per column. For more, use api/neighbors?scope=self|other&k=….
GET api/answer/7ab54c8eeb332104ccbeccb99c23c9aae3cd638fc2e8c3a106e2a96e2b60123c
{ …, "fields": [same as api/answers],
"row": ["7ab54c8e…", "poa1EwYo…", 58, 1794128803, null, 2877, 3, 50, "d0b229b941c12156", 2687, 140, 1, null, null, null, "failed", 67, 1],
"families": { "fields": ["fam","n","authors","e0","e1","sample"],
"rows": [["d0b229b941c12156", 2687, 140, 44, 69, "adversaries forging identities face an immediate o k s capital forfeiture"]] },
"neighbors": { "fields": ["id","author","epoch","shared_sentences","jacc_masked"],
"same_author": [], "everyone": [["052a8b06…", "poa1DF4J…", 45, 1, null], …] } }
api/neighbors/<txid>| param | type | default | meaning |
|---|---|---|---|
k | int | 50 | 1–200 rows returned |
scope | all | other | self | all | everyone / other authors only / same author only |
by | masked | raw | masked | raw also computes an unmasked 3-shingle Jaccard (jacc_raw) on the returned rows and ranks by it in place of jacc_masked |
Candidates are the answer's stored edges plus its co-members in every family it belongs to. Families with ≤ 200 members contribute all members; larger families contribute their first max(k, 50) members in append order. Order: shared_sentences desc, then jacc_masked desc (null last), then txid. Not paginated: to see a large family whole, use api/family.
GET api/neighbors/7ab54c8e…?by=raw&k=2
{ …, "id": "7ab54c8e…", "by": "raw", "k": 2,
"fields": ["id","author","epoch","ts","same_author","shared_sentences","jacc_masked","jacc_raw"],
"rows": [["05626515…", "poa1BmkA…", 45, 1793843397, 0, 1, null, 0.098901], ["052a8b06…", "poa1DF4J…", 45, 1793842049, 0, 1, null, 0.09]] }
api/families| param | type | default | meaning |
|---|---|---|---|
sort | authors | n | authors | authors desc, n desc, fam asc — or n desc, authors desc, fam asc |
min_authors, min_n | int | — | lower bounds (every listed family has n ≥ 2) |
epoch_from, epoch_to | int | — | families whose span [e0, e1] overlaps the range (counts stay all-time) |
limit, cursor | int, string | 500 (max 1000) | cursor is "<authors>.<n>.<fam>" (or "<n>.<authors>.<fam>" for sort=n); copy it from next_cursor |
GET api/families?limit=2
{ …, "fields": ["fam","n","authors","e0","e1","sample"],
"rows": [["9c9fe21d43e383be", 4758, 558, …, …, "…"], ["80269667b4885ae1", 4109, 558, …, …, "…"]], "next_cursor": "558.4109.80269667b4885ae1" }
api/family/<fam>Members of one family, in append order, with the same fields as api/answers. Params: text=1, limit (500, max 1000), cursor (int).
GET api/family/d0b229b941c12156?limit=2
{ …, "family": { "fam": "d0b229b941c12156", "n": 2687, "authors": 140, "e0": 44, "e1": 69, "sample": "adversaries forging identities face an immediate o k s capital forfeiture" },
"fields": [same as api/answers], "rows": [["05992e40…", "poa16TmZ…", …], …], "next_cursor": 109023 }
api/edgesThe stored similarity edges, for your own clustering at any threshold ≥ EDGE_FLOOR. Sorted by internal pair key. Params: min_jacc (float), epoch_from/epoch_to (range on the first answer's epoch), limit (500, max 1000), cursor ("<a>.<b>" from next_cursor).
GET api/edges?min_jacc=0.9&limit=2
{ …, "fields": ["a","b","jacc_masked","same_author"], "rows": [["066e9b5d…", "1193ec49…", 0.95, 1], …], "next_cursor": "12.56862" }
api/health (ops: not a stable contract)Live protection counters for operators and the curious: the adaptive global cap and in-flight count; rejections by scope; 304s and server-cache hits; DB latency over the last 60 s (n, p95_ms, err); the DB-call semaphore (db_sem: max 6 concurrent dashboard calls, queue, timeouts); the per-IP bucket count; whether the edge trust secret is loaded; and stamped vs unstamped request counts. Origin sends it with no-store. Through minepoa.com it may currently be served from the 60 s edge cache. Fields may change without notice.
api/epochsOne row per closed epoch in the build. No parameters.
GET api/epochs
{ …, "fields": ["epoch","n","authors","first_answer_ts","open_ts","close_ts"],
"rows": [[0, 816, 816, 1792876264, null, 1792878384], [1, 1989, 1989, 1792878388, 1792878384, 1792900005], …] }
Units: ts = Unix seconds (UTC); epoch = integer index; Jaccard = |A∩B| / |A∪B| in [0, 1]. Sources are explorer-DB tables: exp_* are imported from the chain, ins_* are derived by the similarity job.
api/dataset authors[]| field | measures | unit | source |
|---|---|---|---|
| addr | author address | poa1… | exp_authors.addr |
| pass / fail / exp | the author's answers that passed / failed (juried) / expired ungraded, all time | count | exp_authors.pass / fail / exp |
| first / lastPass / lastFail | epoch of first answer / last pass / last fail (null = never) | epoch | exp_authors.first / last_pass / last_fail |
| eligible / established | 1 if challenge-eligible / in the established set at the latest close | 0/1 | exp_authors.eligible / established |
| queued | the author's answers in the backlog | count | exp_authors.queued |
| recvMean | mean revealed grade received (null if none) | 0–3 | exp_authors.recv_mean |
api/dataset rows[], api/current rows[]| field | measures | unit | source |
|---|---|---|---|
| id | answer transaction id | 64 hex | exp_queue.answer_txid / exp_txs.id |
| author | dataset: index into authors; current: address | int / poa1… | exp_queue.author / exp_txs.from_addr |
| since / expiresAt | epoch submitted / epoch it expires if still under quorum (since + ttl) | epoch | exp_queue.since / expires_at |
| kind | backlog reason: short = settled short of quorum and carried; current = open epoch | enum | exp_queue.kind |
| len | characters in the answer text | chars | exp_queue.len / computed from exp_txs.body |
| words | words in the normalized text | count | exp_queue.words / computed |
| uniq | distinct words ÷ words | ratio 0–1 | exp_queue.uniq / computed |
| nums | numbers appearing in the text | count | exp_queue.nums / computed |
| nG | grades revealed so far (settles at quorum) | count | exp_queue.n_grades |
| sMean / sMin / sMax | stats of revealed partial grades (null = none) | 0–3 | exp_queue.s_mean / s_min / s_max |
| dup | answers in the same set (backlog or open epoch) sharing this exact normalized full text | count (1 = unique) | exp_queue.dup / computed |
| selfSim | max raw 3-shingle Jaccard vs the same author's other answers in the same set | Jaccard | exp_queue.self_sim / computed |
| famTop / famN / famAuthors | the answer's largest sentence family (id / members / distinct authors) | id / count / count | ins_answer.fam_top → ins_fam (dataset); sentence lookup in ins_fam (current) |
| clN | size of the answer's cluster (dataset only) | count | ins_answer.cl → ins_cl.n |
| field | measures | unit | source |
|---|---|---|---|
| lanes / community | system grading accounts / established community graders | address list | exp_graders.kind |
| total / fetched | backlog seats this grader has not graded yet | count | exp_seats (graded=0) ⋈ exp_queue |
| panel_seats | backlog seats held (graded or not) | count | exp_seats ⋈ exp_queue |
| current / current_panel | open-epoch seats ungraded / held | count | exp_seats ⋈ exp_txs (epoch = open) |
| at | when the seat table was built | ISO time | exp_meta.seats_built_ts |
| seats: ids | answer ids with an ungraded seat for this grader | txid list | exp_seats (grader, graded=0) |
api/answers, api/answer, api/family| field | measures | unit | source |
|---|---|---|---|
| id / author / epoch / ts | txid / author / epoch / tx timestamp as claimed by the submitter | — / — / epoch / s | ins_answer.answer_txid / author / epoch / ts (from exp_txs) |
| s_after_open | ts − close time of the previous epoch (null when that close time isn't imported) | s | ins_answer.ts − ins_epochs.open_ts |
| s_after_first | ts − the epoch's earliest answer ts | s | ins_answer.ts − ins_epochs.first_answer_ts |
| n_sent | sentences with ≥ 5 tokens after normalizing and masking | count | ins_answer.n_sent |
| n_sh | distinct masked 3-word shingles (a masked length measure) | count | ins_answer.n_sh |
| fam_top / fam_n / fam_authors | the answer's largest family (ties: smaller id) / its members / its distinct authors | id / count / count | ins_answer.fam_top → ins_fam.fam / n / authors |
| n_multi_fams | families of this answer that have ≥ 2 distinct authors | count | ins_answer.n_multi_fams |
| cl / cl_n / cl_authors | cluster id (its smallest member's txid) / size / distinct authors; null if in no cluster | txid / count / count | ins_answer.cl → ins_cl |
| outcome | passed / failed / expired as settled at a close; queued if in the backlog; null if neither yet | enum | exp_settled.passed / expired; exp_queue |
| settled_epoch | the close whose emission recorded the settlement | epoch | exp_settled.epoch |
| text_complete | 1 if the stored tx body parsed as JSON (text available) | 0/1 | ins_answer.text_complete |
| text | answer text (with text=1) | string | exp_txs.body → answer |
| field | measures | unit | source |
|---|---|---|---|
| fam | family id: first 16 hex of sha256(normalized masked sentence); stable across builds | 16 hex | ins_fam.fam |
| n / authors | members / distinct authors of the family | count | ins_fam.n / authors |
| e0 / e1 | first / last epoch with a member | epoch | ins_fam.e0 / e1 |
| sample | the normalized, masked sentence itself (≤ 240 chars) | string | ins_fam.sample |
| same_author | 1 if the neighbor or edge pair has the same author | 0/1 | ins_answer.author |
| shared_sentences | families the two answers share | count | ins_sent |
| jacc_masked | Jaccard of masked 3-shingle sets; null if not a stored edge | Jaccard | ins_edges.jacc |
| jacc_raw | Jaccard of unmasked 3-shingle sets, computed on request | Jaccard | computed from exp_txs.body |
| a / b | the two answers of an edge | txid | ins_edges.a / b → ins_answer |
| epochs: n / authors | closed answers / distinct authors in the epoch | count | ins_epochs |
| first_answer_ts | earliest answer ts in the epoch | s | ins_epochs (from ins_answer) |
| open_ts / close_ts | previous epoch's close / this epoch's close (emission ts); null if not imported | s | exp_epoch_close.ts |
| build: rows / kpi | row counts per table; answers in ≥ 1 multi-author family and their share | count / ratio | ins_* |
api/build → params and in every v2 response's floors.| name | value | what it does | why it exists | to go below it |
|---|---|---|---|---|
| sentence families | no threshold | exact match of normalized, masked sentences (≥ 5 tokens) | — | every family with ≥ 2 members is listed in api/families |
| mask | 95 words | removes the engine's challenge vocabulary (the seeded words every answer must contain) before families and edges are computed | otherwise required seed words would make unrelated answers look alike | neighbors?by=raw, or text=1 and your own comparison |
EDGE_FLOOR | 0.30 | an edge is stored only if masked Jaccard ≥ this | storage: 3.07 M pairs at ≥ 0.2 vs 2.72 M at ≥ 0.3 before the per-answer cap | below the floor: neighbors?by=raw computes on request; or text=1 + your own shingling |
K_STORE | 20 | each answer keeps its 20 highest-Jaccard edges; an edge is stored if it's in either answer's top 20 | storage (≈ 594k edges total) | family membership (api/family) is never capped |
CL_THRESH | 0.50 | clusters = connected components over stored edges with Jaccard ≥ 0.5 | so the cl column can exist at all; components chain transitively and can be large | pull api/edges and build your own components at any threshold ≥ 0.30 |
FAM_PAIR_CAP | 200 | families with ≤ 200 members feed every co-member pair into edge computation; neighbors list all their members | a 4,758-member family alone would generate 11 M pairs | api/family pages every member |
candidates (MinHash/LSH, PREV_WINDOW) | 128 hashes; 20×5 and 32×4 bands; 50 | which pairs get an exact Jaccard: LSH bucket-mates and small-family co-members, each paired with up to 50 preceding bucket members | all-pairs over 187k answers is 17.5 billion pairs | pairs never proposed have no edge, at any Jaccard; by=raw / text=1 for your own comparison |
Each recipe is a sequence of requests you can run unchanged. They show how to get a slice, not what to conclude from it. Replace the example ids with your own.
GET api/build → note build_id, as_of_close GET api/answers?limit=1000 → rows + next_cursor GET api/answers?limit=1000&cursor=<next_cursor> → repeat until next_cursor is null (≈ 190 requests at 190k answers; one per 2 s) GET api/epochs → per-epoch counts and times to join on epoch
Restrict with epoch_from/epoch_to. Add text=1 only if you need the text (≈ 3.3× larger). If api/build shows a new build_id mid-pull, start over for a consistent snapshot.
GET api/answers?epoch_from=60&epoch_to=69&max_after_open=600 → submitted ≤ 10 min after the epoch opened (needs open_ts) GET api/answers?epoch_from=60&epoch_to=69&max_after_first=600 → ≤ 10 min after that epoch's first answer (always available) GET api/epochs → n per epoch, to normalize your counts
"After open" is measured from the previous epoch's close. After a close, answers are halted until the post-close lift, so the first answer often arrives tens of minutes after the open. Pick the reference point that fits your question; the API returns both.
GET api/answers?author=poa1EwYoPCvsQwqFxaM24peSaLGABfdbd2oSBiVprdaFUxQQ → every closed answer, with outcome, families, cluster GET api/dataset → authors[] row: pass/fail/exp/recvMean (find the addr) GET api/neighbors/<one of their txids>?scope=self → their own near-repeats GET api/neighbors/<one of their txids>?scope=other → who else is close to them
GET api/families?min_authors=2&epoch_from=60&epoch_to=69&sort=authors → families active in the window (counts are all-time) GET api/family/<fam>?limit=1000 → members; filter rows to epoch 60–69 yourself for in-window counts GET api/family/<fam>?text=1&limit=20 → read some members in full
GET api/family/d0b229b941c12156?limit=1000 → members: author, epoch, outcome, settled_epoch per row (page with cursor) → group the rows by author in your client: count passed / failed / expired / queued / null per author GET api/answers?author=<one of those authors> → that author's answers OUTSIDE this family, for comparison
GET api/graders → pick an address; seat counts for backlog and open epoch GET api/seats/<addr> → ids of ungraded seats GET api/answers?ids=<up to 500 ids, comma-separated> → for seats in CLOSED epochs: families, cluster, outcome, timing GET api/current → for seats in the OPEN epoch: match ids against rows (famTop/famN/famAuthors)
GET api/answers?epoch_from=50&epoch_to=59&limit=1000 → page; keep rows where outcome = "passed" (or failed / expired) GET api/answers?fam=<fam>&limit=1000 → outcomes within one family
There's no server-side outcome filter yet (see gaps); filter the page in your client.
GET api/dataset → backlog: len, words, uniq, nums per row
GET api/current → open epoch: the same fields
GET api/answers?epoch_from=40&epoch_to=49&limit=1000 → all-time: n_sh (masked shingles) and n_sent as length measures;
add text=1 to compute characters/words yourself
GET api/edges?min_jacc=0.6&limit=1000 → page all edges ≥ 0.6 (cursor), build components in your client GET api/answers?cl=<cluster txid> → or use the build's own 0.5 components
GET api/answer/<txid>?text=1 → its families + same-author and everyone-else neighbor columns GET api/neighbors/<txid>?k=200&by=raw → wider list with unmasked Jaccard
api/answers has no outcome filter (outcomes live in a different table from the similarity build; filter client-side), and no all-time len/words columns (use n_sh/n_sent, or text=1)..!? followed by whitespace. A sentence glued to the next one without a space isn't isolated (receipt: 2,697 answers contain the exact sentence of family d0b229b941c12156 as a substring; 2,687 are members).ts is the submitter's claimed time; a few answers carry a ts later than their epoch's close.open_ts/close_ts and outcome fill in as their imports catch up; null means "not imported yet", not "none".Source of truth for these docs: server.js + v2.mjs of the deployed build. Each response carries build_id; api/build carries the exact parameters.