---
title: "Fetch count of sub-tasks for each of the tasks for the given task type"
method: GET
path: "/tasks/{taskType}/taskcounts"
tags: ["Task"]
---

# Fetch count of sub-tasks for each of the tasks for the given task type

`GET /tasks/{taskType}/taskcounts`

## Path parameters

- `taskType` string, required

## Response `200`

successful operation

- object

---

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