Read the command ledger
Prerequisites
- Network access to your
service-fsinstance - Your module identifier for the required
X-Foundry-Module-IDheader
Purpose
Read ledger history and fetch a verifiable checkpoint over service-fs's real HTTP API — a couple of minutes. There is no ledger-browsing screen anywhere in os-console; F12 only shows an inline height/root indicator while a submission is in progress, not a history you can page through.
Procedure
-
Fetch entries from a cursor, starting at 0 for the full history:
The header is required — a missing
X-Foundry-Module-IDreturns a 400, and a mismatched one returns a 403. Each entry in the response carries acursor, apayload_id, and thepayloaditself. -
Page forward using the response's own
next_cursorfield:Repeat until the returned entry list is empty — that's the end of the ledger as of your request.
-
Fetch the current checkpoint to anchor what you just read:
The response carries
tree_size(the ledger's height — total entry count),root_hash(a hex-encoded SHA-256 tip hash),algorithm("sha256"), atimestamp, and asignature.Note:
signatureis only present if theservice-fsinstance was started with a signing key configured. An unsigned deployment returnssignature: null— that's a real, valid configuration state, not a broken response.
Expected outcome
The full set of ledger entries from your starting cursor onward, plus a checkpoint giving you the ledger's current height and root hash to check them against.
Verification
Confirm the number of entries you paged through is consistent with the checkpoint's tree_size at the time you fetched it — fetching entries and the checkpoint aren't atomic against each other, so a small gap from activity between the two calls is expected, not an error. For a full step-by-step tamper-verification procedure using the checkpoint's hash and signature, see Verify a WORM ledger entry — this guide covers reading the ledger, not proving it hasn't been altered.
Rollback
Reading is non-destructive — there's nothing to undo. Re-running any of the calls above is always safe.
Next steps
- Verify a WORM ledger entry — verify a checkpoint's hash and signature against the entries it covers
- Run your first SLM query — a separate real HTTP path, for inference rather than ledger reads
See also
- service-fs — the WORM ledger backbone — the WORM storage layer these endpoints belong to
- WORM ledger substrate: four-layer architecture and two boot envelopes — what the WORM guarantee covers and what it does not
- Console input application — the F12 Input Machine that writes the entries you're reading here
Cite this record: /wiki/read-the-command-ledger — revision 9b9339a2, last updated 6 August 2026.