Skip to content

mxr history

Generated from mxr history --help. Edit the clap definitions in crates/daemon/src/cli/ and re-run npm run build in site/ to regenerate.

Show persisted event history

mxr history [OPTIONS]
FlagDescription
--category <CATEGORY>Exact category match (e.g. mutation, sync)
--category-prefix <CATEGORY_PREFIX>Category prefix (e.g. sync.). Matches category LIKE prefix%
--level <LEVEL>
--search <SEARCH>Free-text substring match against summary and details. Case-insensitive
--since <SINCE>Lower-bound timestamp. Accepts 1h/3d/2w or ISO date
--until <UNTIL>Upper-bound timestamp. Accepts 1h/3d/2w or ISO date
--offset <OFFSET>Result offset for paging [default: 0]
--limit <LIMIT>[default: 50]
--format <FORMAT>[possible values: table, json, jsonl, csv, ids]
-h, --helpPrint help

Inspect persisted events after a mutation or sync run. Filter by category, level, time window, or free-text search.

Terminal window
mxr history --category mutation --limit 5 --format json
mxr history --search 'archive failed' --since 24h --level error
mxr history --category-prefix sync --since 7d --limit 200 --format jsonl | jq -r '.summary'