Skip to main content

mr jobs summary

Aggregate visible Jobs over the last 90 days or less. Apply the same state, kind, origin, owner, actor, relationship, search, and viewer-preference filters as jobs list. Use --window to choose a shorter interval. For an explicit range longer than 90 days, use jobs summary export to create a durable Job with a CSV or JSON artifact.

Usage​

mr jobs summary

Examples​

Count a month of remote downloads

mr jobs summary --window 30d --kind remote-download --json

Queue a longer explicit range as a CSV export

mr jobs summary export --from 2025-01-01T00:00:00Z --to 2026-01-01T00:00:00Z --format csv

Flags​

FlagTypeDefaultDescription
--statestringSlice[]Filter by Job state (repeatable)
--kindstringSlice[]Filter by Job kind (repeatable)
--originstringSlice[]Filter by submission origin (repeatable)
--owner-iduint0Filter by owner user ID
--actor-iduint0Filter by acting user ID
--accepted-afterstring``Include Jobs accepted at or after RFC3339 time
--accepted-beforestring``Include Jobs accepted at or before RFC3339 time
--relationshipstring``Filter by visible lineage relationship
--inbound-relationshipstring``Filter Jobs a visible Job links to with this relationship (retried, repeated, or child stage)
--no-inbound-relationshipstring``Filter Jobs no visible Job links to with this relationship (for example, not yet retried)
--searchstring``Search visible Job text and output labels
--commandstring``Filter Jobs currently advertising this command key
--pinnedstring``Filter this viewer's pin preference (true, false or any)
--dismissedstring``Filter this viewer's dismissal preference (true, false or any)
--windowstring``Aggregate window such as 7d or 12h (maximum: 90d)

Inherited global flags​

FlagTypeDefaultDescription
--jsonboolfalseOutput raw JSON
--no-headerboolfalseOmit table headers
--pageint1Page number for list commands (default page size: 50)
--quietboolfalseOnly output IDs
--serverstringhttp://localhost:8181mahresources server URL (env: MAHRESOURCES_URL)

Output​

Aggregate counts and duration statistics for visible Jobs

Exit Codes​

0 on success; 1 on any error

See Also​