---
title: "Get the state (task queue state) for the given task type"
method: GET
path: "/tasks/{taskType}/state"
tags: ["Task"]
---

# Get the state (task queue state) for the given task type

`GET /tasks/{taskType}/state`

## Path parameters

- `taskType` string, required

## Response `200`

successful operation

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

---

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