---
title: "GET Get task items statistics for an entity"
description: "Retrieve task items statistics (total count, counts by status) for a specific entity"
last_updated: "2026-05-06T07:33:52.822156+00:00"
canonical_url: "https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/api/task-management/taskmanagementcontroller-gettaskitemsstats"
---

<APIEndpoint
  method={"GET"}
  path={"/task-management/stats"}
  summary={"Get task items statistics for an entity"}
  description={"Retrieve task items statistics (total count, counts by status) for a specific entity"}
  deprecated={false}
  baseUrl={""}
/>

## Parameters

<APIParameters parameters={[{"name":"X-Organization-Id","in":"header","required":false,"description":"Organization ID (required for session auth, optional for API key auth)","schema":{"type":"string"}},{"name":"entityId","in":"query","required":true,"description":"ID of the entity to get task items stats for","schema":{"type":"string"}},{"name":"entityType","in":"query","required":true,"description":"Type of entity","schema":{"type":"string"}}]} />

## Responses

<APIResponse
  statusCode={"200"}
  description={"Task items statistics retrieved successfully"}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

## Try It

<APIPlayground
  method={"GET"}
  path={"/task-management/stats"}
  parameters={[{"name":"X-Organization-Id","in":"header","required":false,"description":"Organization ID (required for session auth, optional for API key auth)","schema":{"type":"string"}},{"name":"entityId","in":"query","required":true,"description":"ID of the entity to get task items stats for","schema":{"type":"string"}},{"name":"entityType","in":"query","required":true,"description":"Type of entity","schema":{"type":"string"}}]}
  baseUrl={""}
/>


## Sitemap

See the full [sitemap](https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/llms.txt) for all pages in this wiki.
