apache-airflow-api

Execute Stable REST API requests to manage Apache Airflow DAGs and backfills.

3|1|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/Cogni-AI-OU/cogni-ai-agent-skills --skill apache-airflow-api
Or copy as Structured Prompt for Agentā–¼
Please help me install this Agent Skill.
Skill: apache-airflow-api
Source: https://github.com/Cogni-AI-OU/cogni-ai-agent-skills/tree/main/apache-airflow-api
Command: npx skills add https://github.com/Cogni-AI-OU/cogni-ai-agent-skills --skill apache-airflow-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you programmatically manage Apache Airflow by executing Stable REST API calls for DAGs, DAG runs, and operational metadata without relying on brittle UI workflows.

Core Features & Use Cases

  • DAG & DAG Run Management: Trigger, pause/unpause, cancel, and monitor DAG runs and backfills through the Airflow Stable endpoints.
  • Operational Configuration Automation: Manage Airflow Variables, Connections, Pools, and Assets for automated workflows and repeatable environments.
  • Execution Insight & Validation: Retrieve task instance details, logs, XCom entries, and execution statistics while validating HTTP status codes and payload format.

Quick Start

Use the apache-airflow-api skill to pause a specific DAG backfill by calling the appropriate /api/v2/backfills/{backfill_id}/pause endpoint with correct authentication and a validated JSON payload.

Frequently Asked Questions about apache-airflow-api

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

FAQPage Schema
How do I trigger an Apache Airflow DAG run programmatically via REST API?ā–¼

Triggering an Apache Airflow DAG run programmatically requires sending a validated JSON payload to the Stable REST API endpoints for DAG runs. This method executes write operations like programmatic triggering without relying on brittle UI workflows.

Can I pause or cancel an Airflow backfill using the REST API?ā–¼

Yes, you can pause, unpause, or cancel an Airflow backfill by sending requests to the specific /api/v2/backfills endpoints. This requires correct authentication and constructing a validated JSON payload for the write operation.

How do I manage Airflow variables and connections for automated workflows?ā–¼

Managing Airflow variables and connections for automated workflows is done by executing Stable REST API calls. This automates operational configuration, allowing you to programmatically set up repeatable environments without manual UI intervention.

What's the best way to retrieve Airflow task instance logs and XCom entries?ā–¼

The best way to retrieve Airflow task instance logs and XCom entries is by executing Stable REST API requests. This approach retrieves operational metadata and execution statistics while validating HTTP status codes to ensure successful responses.

Do I need specific authentication to execute Airflow Stable REST API requests for DAG management?ā–¼

Yes, DAG management via the Airflow Stable REST API requires correct authentication to access stable /api/v2 or versioned /api endpoints. You must also handle common HTTP error codes and validate response formats during execution.

Why automate Apache Airflow management with Stable REST API instead of the UI?ā–¼

Automating Apache Airflow management with the Stable REST API solves the problem of brittle UI workflows. It enables controlled automation for tasks like pausing backfills and managing assets, ensuring repeatable and validated programmatic execution.