Skip to content

mxr search

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

Search messages

mxr search [OPTIONS] [QUERY]
FlagDescription
[QUERY]
FlagDescription
--account <ACCOUNT>
--format <FORMAT>[possible values: table, json, jsonl, csv, ids]
--limit <LIMIT>[default: 50]
--offset <OFFSET>Skip this many matching results before returning a page [default: 0]
--mode <MODE>[possible values: lexical, hybrid, semantic]
--sort <SORT>[possible values: date, relevance]
--group-by <GROUP_BY>Aggregate the query result set by a field instead of listing messages [possible values: from, list, category]
--explain
--triageClassify matching messages with cached ACTION/FYI/ROUTINE verdicts
-h, --helpPrint help

Find messages fast, then pipe IDs or JSON into the next step.

Terminal window
mxr search 'from:alice is:unread' --format json
mxr search 'has:attachment subject:invoice' --format ids | mxr label receipts --dry-run
mxr search 'is:owed-reply' --format ids # threads you're the bottleneck on