get_runs
List recent Dagster pipeline runs with filters for job name, status, and limit. Use to find failures or monitor active runs.
Instructions
List recent pipeline runs. Start here to discover what has been running.
Returns runId, status, jobName, startTime, endTime, and tags for each run. Use the returned runId to drill into details with get_run_status, get_run_logs, get_run_stats, or get_run_failure_summary.
Filtering:
job_name: filter by job (e.g. 'my_etl_job')
statuses: filter by one or more statuses. Valid values: 'SUCCESS', 'FAILURE', 'CANCELED', 'STARTED', 'QUEUED', 'STARTING', 'CANCELING', 'NOT_STARTED'. Examples: ['FAILURE'], ['FAILURE', 'CANCELED'], ['STARTED', 'QUEUED']
limit: max runs to return (default 10)
Typical workflows:
Find recent failures: get_runs(statuses=['FAILURE'])
Check if a job ran today: get_runs(job_name='my_job', limit=5)
Monitor active runs: get_runs(statuses=['STARTED', 'QUEUED'])
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| limit | No | ||
| job_name | No | ||
| statuses | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |