list_dags
List registered DAGs with their paused and import-error status to confirm DAG parsing and registration. Supports filtering by DAG ID pattern, tags, and pagination.
Instructions
List DAGs registered in the cluster with their paused / import-error flags.
Use this to confirm a DAG parsed and registered. Important: a DAG whose file fails
to import at module load does NOT appear here at all — call get_import_errors for that.
Args: limit: Max DAGs to return (default 100). offset: Pagination offset. dag_id_pattern: Optional case-insensitive substring filter on dag_id. tags: Optional list of tags; only DAGs carrying one of them are returned.
Returns:
DagList with dags (dag_id, is_paused, is_active, has_import_errors, fileloc,
description, tags, next_dagrun, last_parsed_time) and total_entries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| limit | No | ||
| offset | No | ||
| dag_id_pattern | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dags | Yes | ||
| total_entries | No |