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

# POST /v1/{+environment}:pollAirflowCommand

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

Polls Airflow CLI command execution and fetches logs.

## Path parameters

- `environment` string, required

## Request body

- PollAirflowCommandRequest — Poll Airflow Command request.
  - `executionId` string — The unique ID of the command execution.
  - `podNamespace` string — The namespace of the pod where the command is executed.
  - `pod` string — The name of the pod where the command is executed.
  - `nextLineNumber` integer — Line number from which new logs should be fetched.

## 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)
