jobd_list
List jobs on the broker with per-state counts. Filter by state or project to locate past runs or see what is currently queued, assigned, or running.
Instructions
List jobs on the broker with per-state counts. Defaults to the active set (queued/assigned/running); filter by state (e.g. ['failed']) or project to find past runs. Each row is a compact summary: job_id, project, state, host, exit_code, queued_at, started_at — call jobd_status for a job's full record. Use to answer 'what is running / queued right now?' or to locate a job id you've lost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max jobs returned (newest first; clamped to [1,200]). `counts` still covers every job matching the filters; a `truncated` field reports how many were cut. | |
| state | No | States to include — any of: queued, assigned, running, completed, failed, cancelled, preempted, orphaned, scheduling_timeout. Omit for the active set (queued/assigned/running); pass [] for all states. | |
| project | No | Restrict to one project's jobs (the --project value used at submit). |