---
title: "Get task statistics"
method: GET
path: "/inlong/manager/api/workflow/taskSummary"
tags: ["Workflow-API"]
---

# Get task statistics

`GET /inlong/manager/api/workflow/taskSummary`

## Request

- The document declares no server URL.
- Auth: none declared

## Query parameters

- `applicant` string
- `approver` string
- `displayName` string
- `endTimeBegin` string, date-time
- `endTimeEnd` string, date-time
- `name` string
- `processId` integer
- `startTimeBegin` string, date-time
- `startTimeEnd` string, date-time
- `tenant` string
- `type` string

## Response `200`

OK

- ResponseTaskCountResponse
  - `data` TaskCountResponse
    - `totalApproveCount` integer: Count of approved
    - `totalPendingCount` integer: Count of awaiting approval
    - `totalRejectCount` integer: Count of dismissed data
    - `totalTransferCount` integer: Count of transfers
  - `errMsg` string
  - `success` boolean

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/apache/apis/the-apache-software-foundation-file-api.md) - [All operations](https://skmtc.dev/apache/apis/the-apache-software-foundation-file-api/llms.txt) - [OpenAPI document](https://skmtc.dev/apache/apis/the-apache-software-foundation-file-api/revisions/41c687f48683?raw)
