assay --help
assay <command> --help
--json on a read emits the raw object. Parse that. Human tables are for people. Inspection verbs never create a database. Record first, or init / capture / serve / seed. Every read accepts --db <path> or --pg <dsn> / $ASSAY_PG_DSN. Pass one, not both. Common filters: --principal --session --task --project --since --until.

Look

Command
assay showRollup: span count, tokens by phase, cost
assay top --by principal|task|sessionHighest-cost groups
assay tail -n 20Latest spans, one line each
assay turnsDecrypted timeline + cost. Debug
assay transcripts listSession index
assay transcripts showOne sitting
assay search "…"What was said
assay typeSpend per kind of work
assay productsPath-product, both readings
assay objectivesTree + window counts
assay unplacedSittings with no winning objective
assay scopesWhere writes landed
assay wasteRecoverable spend
assay roiCost per outcome, yield, declared ROI
assay outcomesResult rows
assay export --focusFOCUS cost CSV, one row per span
assay dashboardLocal console
assay pricing checkUnpriced tripwire
assay verifyWalk the hash-linked log. Exit 1 on a break. Integrity

Fill

Command
assay initConfig, empty store, content key
assay capture claude-code|grok|codex|opencodeHarness logs
assay capture --adapterCustom harness
assay sweep / sweep on / offTimer + one-shot sweep
assay seedDeterministic synthetic corpus (creates the db)
assay serve --tenantsOTLP door
assay outcomes recordAppend one outcome
assay seal --yesWrite genesis for the hash-linked log. SQLite.
assay seal --catch-up --yesChain rows a pre-0.49.0 binary wrote after seal
assay seal --rebase-legacy --yesRebuild genesis merkle after leftover rows changed

Label and correct

Command
assay labelling on|off|run|session-endCorpus labels
assay declareType / objective / scopes, local door
assay type runAnnotate type (heuristic, or --judge)
assay classify runSpan work-type overlays
assay value runValuation overlays
assay attribute productsPath-product overlay
assay attribute scopesWrite-scope overlay
assay attribute objectivesPlace on the tree
assay attribute backfillBind outcomes to spend
assay reprice run / ttlAppend cost corrections. Never edits a span. --dry-run first

Network

Command
assay pricing watchFetches public rate documents. Does not open the store.
assay reconcile anthropicLedger vs Anthropic admin cost report
assay attestSubmit the log-head digest to none / https / ots. --dry-run sends nothing. Integrity

Dangerous

Command
assay shred --yesDestroy one principal’s content key. Irreversible.
assay transcripts pruneAge-based retention of turn rows
assay transcripts resealKey-rotation rewrite of ciphertext only
shred exits non-zero on a refused or partial erasure. Treat that as failure.

Config and version

assay --version
assay init --global
--config-file / $ASSAY_CONFIG. --strict-config in CI. See Config.