Skip to content

Airflow Tools Documentation

This document lists all available Airflow tools and their usage.

Tools

Tool Name Description Parameters
airflow_get_task_log Get logs for a specific Airflow task instance - dag_id (string): The ID of the DAG
- dag_run_id (string): The ID of the DAG Run
- task_id (string): The ID of the task
- try_number (number): The try number of the task instance
airflow_list_dags List all DAGs in Airflow - limit (number, optional): Number of results per page
- offset (number, optional): Page offset
airflow_get_dag Retrieve a specific DAG by ID - dag_id (string): The ID of the DAG
airflow_update_dag Update a DAG (e.g., pause/unpause) - dag_id (string): The ID of the DAG
- is_paused (boolean): Set to true to pause the DAG
airflow_list_dag_runs List DAG runs for a specified DAG ID - dag_id (string): ID of the DAG
- order_by (string, optional): Order By
- page_offset (number, optional): Page Offset (default 0)
- page_limit (number, optional): Page Limit (default 100)
- states (string[], optional): States
- run_after_gte (string, optional): Run After Gte
- run_after_lte (string, optional): Run After Lte
- logical_date_gte (string, optional): Logical Date Gte
- logical_date_lte (string, optional): Logical Date Lte
- start_date_gte (string, optional): Start Date Gte
- start_date_lte (string, optional): Start Date Lte
- end_date_gte (string, optional): End Date Gte
- end_date_lte (string, optional): End Date Lte

Configuration

For enhanced security, it is recommended that you use token-based authentication:

  1. Generate an API token in your Airflow instance:
  2. Log into the Airflow web UI
  3. Navigate to your user profile
  4. Look for the "API Tokens" or "Authentication" section
  5. Generate a new token
  6. Enter the token and other details in the your Datamate configuration
  7. In the configuration panel, set "Authentication Type" to "Token"

airflow_config_altimate_ui

For more details about Airflow authentication, refer to the official Airflow documentation.