Skip to main content

mr jobs list

List the durable Jobs visible to the current account. The server orders results newest first and returns an opaque nextCursor when another page is available. Pass that value to --cursor to continue; the table output prints it on stderr, so --quiet writes nothing but Job ids to stdout. The list pages only by cursor, so the global --page flag is refused. Use the repeatable state, kind, and origin filters, or narrow by owner, actor, accepted time, relationship, text, advertised command, or your pin and dismissal preferences. Besides the lifecycle states, --state accepts partial: succeeded Jobs whose Kind recorded that the work stopped short of finished. --inbound-relationship matches Jobs another visible Job links to (retry-of: retried or continued, repeat-of: repeated, parent-child: a child stage), and --no-inbound-relationship matches Jobs no visible Job links to that way.

The canonical list endpoint is controlled by the server's Job Center release gate. While that endpoint is unavailable, an unfiltered jobs list request falls back to the legacy download queue. Use jobs queue when a script needs the legacy response explicitly.

Usage​

mr jobs list

Examples​

Find failed remote downloads

mr jobs list --state failed --kind remote-download --limit 50

Find work that stopped short of finished

mr jobs list --state partial --state failed

Failed Jobs nobody has retried yet

mr jobs list --state failed --no-inbound-relationship retry-of

Continue from an opaque cursor on the next page

mr jobs list --accepted-after 2026-01-01T00:00:00Z --cursor 'opaque-value'

Read the details of every Job on the first page

mr jobs list --quiet | xargs -n 1 mr jobs get --json

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)
--cursorstring``Opaque cursor returned by the previous page
--limitint0Jobs per page (server maximum: 200)

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​

Canonical page with visible Jobs and an optional nextCursor

Exit Codes​

0 on success; 1 on any error

See Also​