airflow-api

Trigger, monitor, and debug Airflow DAG runs via the REST API.

2|Updated May 2, 2025
One-click install
npx skills add https://github.com/adryanev/.dotfiles --skill airflow-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: airflow-api
Source: https://github.com/adryanev/.dotfiles/tree/main/.agents/skills/airflow-api
Command: npx skills add https://github.com/adryanev/.dotfiles --skill airflow-api

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill enables programmatic control of Airflow DAGs by triggering runs, monitoring progress, and accessing task logs for debugging.

Core Features & Use Cases

  • Interact with Airflow 3 REST API to trigger DAG runs, unpause DAGs, retrieve details, and manage runs.
  • Monitor ongoing DAG executions and fetch task logs to diagnose failures.
  • Supports JWT-based authentication with a fallback to basic auth for flexible environments.

Quick Start

Trigger a DAG run and monitor its execution via the airflow_api.sh script.

Frequently Asked Questions about airflow-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trigger Airflow DAG runs programmatically via REST API?

Triggering Airflow DAG runs via REST API involves sending HTTP requests to the Airflow server endpoints. This skill automates DAG execution triggering, unpausing DAGs, and managing run states for data engineering workflows.

Can I fetch Airflow task logs to diagnose DAG execution failures?

Yes, you can fetch Airflow task logs to diagnose DAG execution failures. This skill retrieves task logs directly through the REST API, providing real-time visibility and debugging capabilities for failed DAG runs.

Does this Airflow REST API tool support JWT token authentication?

Yes, this Airflow REST API tool supports JWT token-based authentication to ensure safe operations. It also includes an optional basic auth fallback for flexible environments where JWT is not configured.

What is the best way to monitor ongoing Airflow DAG executions?

The best way to monitor ongoing Airflow DAG executions is by polling the REST API for run statuses. This skill provides real-time monitoring of DAG progress and retrieves execution details programmatically.

Do I need Airflow 3 to use this DAG monitoring skill?

This DAG monitoring skill is designed to interact with the Airflow 3 REST API to manage DAG runs. It applies to data engineering and analytics workflows requiring programmatic DAG control and real-time execution visibility.