---
title: "Get all workflow performance details of the given workflow."
method: POST
path: "/api/Reports/workflowperformance"
tags: ["Reports"]
---

# Get all workflow performance details of the given workflow.

`POST /api/Reports/workflowperformance`

## Request

- Base URL: `https://apidocs.cflowapps.com` (the document declares no server; this is the origin it was published from)
- URL: `https://apidocs.cflowapps.com/api/Reports/workflowperformance`
- Auth: API key in header `X-Api-Key` and API key in header `X-User-Key`
- TypeScript: <https://skmtc.dev/cflowapps/apis/cflow-public-api/docs/api/Reports/workflowperformance/post.ts> (a function with typed inputs; its response is checked against the schema)

Sample Request

         POST
         {
           "WorkflowName": "Test Workflow",
           "StartDate": "03/01/2024",
           "EndDate": "03/25/2024"
        }

## Request body

- SystemReportRequest
  - `workflowName` string, required: Name of the worklfow
  - `startDate` string, required: Date From (MM/dd/yyyy)
  - `endDate` string, required: Date To (MM/dd/yyyy)

## Response `200`

List of workflow performance data.

- WorkflowPerfDto[]
  - `benchmarkHrs` string, nullable: Standard benchmark time (in hours) defined for the workflow.
  - `averageCycleTimeHrs` string, nullable: Average time taken to complete the workflow cycle.
  - `shortestCycleTimeHrs` string, nullable: Minimum time taken to complete the workflow.
  - `longestCycleTimeHrs` string, nullable: Maximum time taken to complete the workflow.
  - `fastestApprovalTimeHrs` string, nullable: Shortest approval time recorded across all approvers.
  - `fastestApprover` string, nullable: User who completed approval in the shortest time.
  - `slowestApprovalTimeHrs` string, nullable: Longest approval time recorded across all approvers.
  - `slowestApprover` string, nullable: User who took the longest time for approval.

## Other responses

- `400`: Bad request
- `401`: If you don't have access to the report, you cannot get the report data.
- `403`: Forbidden
- `404`: No workflow performance data found for the given workflow.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/cflowapps/apis/cflow-public-api.md) - [All operations](https://skmtc.dev/cflowapps/apis/cflow-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cflowapps/apis/cflow-public-api/revisions/af0dadd0ad10?raw)
