Ledger verification
https://app.speybooks.com/api/v1/reports/ledger-verificationThe ledger-state verdict for the organisation, on its own route so the
app-shell verification strip can show it on any page, not only the dashboard.
It is the same chain-head verification the aggregator stamps into
summary.ledger, exposed standalone, so the strip reads three fields rather
than assembling a whole dashboard summary.
The verdict (D-AGG-6)
verified asserts the audit chain is intact as of this head, guaranteed at
write time, AX-AUD-001 monotonicity and the FOR UPDATE serialisation of chain
appends, not replayed on read. failed is narrow by construction: it fires
only on a cheap, impossible-by-construction condition over a non-empty chain,
the head row missing or the head still at genesis against a non-empty chain. A
brand-new org with no entries is legitimately verified.
Fields
status is the verdict. asOf is the read instant, ISO UTC, from the
database now() (AX-TMP-001). head is the full SHA-256 chain head; the
display form is the client's choice. periodLabel, fyLabel and
lastWrite are optional and progressive, emitted when the period source is
wired, omitted otherwise, never fabricated, and the headline never waits on them.
Response
Show response fields
asOfstringdate-timeheadstringstatusstring