---
title: "POST /v1/{+environment}:executeAirflowCommand"
method: POST
path: "/v1/{+environment}:executeAirflowCommand"
tags: ["projects"]
---

# POST /v1/{+environment}:executeAirflowCommand

`POST /v1/{+environment}:executeAirflowCommand`

Executes Airflow CLI command.

## Path parameters

- `environment` string, required

## Request body

- ExecuteAirflowCommandRequest — Execute Airflow Command request.
  - `subcommand` string — Airflow subcommand.
  - `command` string — Airflow command.
  - `parameters` string[] — Parameters for the Airflow command/subcommand as an array of arguments. It may contain positional arguments like `["my-dag-id"]`, key-value parameters like `["--foo=bar"]` or `["--foo","bar"]`, or other flags like `["-f"]`.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/composer.md) · [All operations](https://skmtc.dev/google/apis/composer/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/composer/revisions/6b68932082fa/schema)
