Saphan StudioDocs
Reference/Commands

saphan ledger

Shows or exports the cost ledger, the record of model calls, refusals and their cost in this workspace.

Shows or exports the cost ledger, the record of model calls, refusals and their cost in this workspace. Run it with one of the subcommands below.

saphan ledger

saphan ledger export

Writes every ledger row as JSON lines to standard output, for analysis in other tools; an empty ledger produces no output.

saphan ledger export

saphan ledger show

Prints cost totals per session and for the whole workspace: calls, refusals, library pin bypasses, tokens and dollars. Runs whose cost could not be normalised are listed separately and are not counted as zero.

saphan ledger show

saphan ledger unsigned

Counts the dispatches that were admitted without a verified signature chain, from the run record, with the streams, the time span, the actors, the admission modes and the order documents involved; a workspace with no store reports no ledger rather than failing. Use it before deciding to require signatures on every dispatch; it reports and does not recommend.

saphan ledger unsigned
flagtypedefaultwhat it does
--sincestringCounts only admissions whose run started at or after this RFC 3339 timestamp.

Global options apply to every command — see Every command.

On this page