---
title: "Get the task state for the given task"
method: GET
path: "/tasks/task/{taskName}/state"
tags: ["Task"]
---

# Get the task state for the given task

`GET /tasks/task/{taskName}/state`

## Path parameters

- `taskName` string, required

## Response `200`

successful operation

- 'NOT_STARTED' | 'IN_PROGRESS' | 'STOPPED' | 'STOPPING' | 'FAILED' | 'COMPLETED' | 'ABORTED' | 'TIMED_OUT' | 'TIMING_OUT' | 'FAILING'

---

[API](https://skmtc.net/startree/apis/pinot-controller-api.md) · [All operations](https://skmtc.net/startree/apis/pinot-controller-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/startree/pinot-controller-api/versions/f1cc8a0ba2e0/schema)
