Skip to content

CLI: Records

Generated from deedglass help --json (CLI 0.1.0-dev). Global flags and exit codes are on the CLI reference page.

Check records offline.

Terminal window
deedglass verify <path|->... [--keys <file|url>] [--pin sha256:…] [--anchor <seq>:sha256:…] [--file <path>] [--strict] [--all] [-q]
Flag Type Default What it does
--all bool list every failure (at most 100) instead of stopping at the first
--anchor string :sha256:… the body_hash of the deed just before the first one given
--file string also check this file against the deed (a deed from deedglass deeds seal-file)
--keys string seal key set: a keys.json file or an https URL (repeatable)
--max-bytes int 8589934592 the largest deeds.jsonl a bundle may hold
--pin string accept only seal keys with this thumbprint, sha256:… (repeatable)
--q bool print nothing; the exit code is the answer
--quiet bool print nothing; the exit code is the answer
--strict bool require canonical bytes and pinned keys

Add --json for machine-readable output.

List records.

Terminal window
deedglass deeds list [--from-seq n] [--to-seq n] [--kind action,admin,amendment] [--action act_…] [--order asc|desc] [--limit 25] [--json]
Flag Type Default What it does
--action string an action id: its record and amendments
--cursor string next_cursor from the previous page
--from-seq int 0 first seq
--kind string comma list: action, admin, amendment
--limit int 25 page size, 1 to 100
--order string asc (default) or desc
--to-seq int 0 last seq

Add --json for machine-readable output.

Show one record.

Terminal window
deedglass deeds show <deed_…|seq> [--json]

Add --json for machine-readable output.

Make a link that checks one record.

Terminal window
deedglass deeds share <deed_…|seq> [--yes] [--json]
Flag Type Default What it does
--yes bool make the link without asking

Add --json for machine-readable output.

Export records as a bundle.

Terminal window
deedglass deeds export [--out <file>|-] [--format tar.gz|jsonl] [--from-seq n] [--to-seq n] [--since 1h] [--json]
Flag Type Default What it does
--format string tar.gz tar.gz (a sealed bundle) or jsonl (records only)
--from-seq int 0 first seq
--out string file to write (default deedglass---.tar.gz)
--since duration 0s only records issued in the last 1h, 30m, … (S13)
--to-seq int 0 last seq

Add --json for machine-readable output.

Seal a file’s hash as a record.

Terminal window
deedglass deeds seal-file <path> --label <text> [--media-type application/pdf|text/markdown|application/json|text/plain|text/html] [--out <path>.deed.json] [--json]

Add --json for machine-readable output.

Check the record chain.

Terminal window
deedglass ledger check [--from-seq n] [--to-seq n] [--json]
Flag Type Default What it does
--from-seq int 0 first seq (default: the whole chain)
--to-seq int 0 last seq

Add --json for machine-readable output.

Remove old payloads; records stay.

Terminal window
deedglass ledger prune [--older-than 90d] [--dry-run] [--yes] [--json]
Flag Type Default What it does
--dry-run bool count only; nothing changes
--older-than string payload age to remove (90d, 24h; default: the org’s retention, 90 days)
--yes bool don’t ask for confirmation

Add --json for machine-readable output.