---
title: "Get the workflows dashboard"
method: GET
path: "/workflows/dashboard"
tags: ["Workflows"]
---

# Get the workflows dashboard

`GET /workflows/dashboard`

## Request

- Base URL: `https://api.surense.com/api/v1`
- URL: `https://api.surense.com/api/v1/workflows/dashboard`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.surense.com/oauth/token`

## Query parameters

- `request` WorkflowDashboardRequest, required
  - `agencyId` string, uuid

## Response `200`

OK

- WorkflowDashboardValue
  - `lastUpdatedAt` string, date-time
  - `byTypeAll` DistributionEntry[]
    - `value` string
    - `count` integer
  - `byTypeOpen` DistributionEntry[]
    - `value` string
    - `count` integer
  - `byStatus` DistributionEntry[]
    - `value` string
    - `count` integer
  - `byAssigneeAll` DistributionEntry[]
    - `value` string
    - `count` integer
  - `byAssigneeOpen` DistributionEntry[]
    - `value` string
    - `count` integer
  - `created7DaysByType` TimedDistribution[]
    - `x` string
    - `values` DistributionEntry[]
      - `value` string
      - `count` integer
  - `created30DaysByType` TimedDistribution[]
    - `x` string
    - `values` DistributionEntry[]
      - `value` string
      - `count` integer
  - `created12MonthsByType` TimedDistribution[]
    - `x` string
    - `values` DistributionEntry[]
      - `value` string
      - `count` integer
  - `createdMonthByType` TimedDistribution[]
    - `x` string
    - `values` DistributionEntry[]
      - `value` string
      - `count` integer
  - `createdYearByType` TimedDistribution[]
    - `x` string
    - `values` DistributionEntry[]
      - `value` string
      - `count` integer
  - `createdLastYearByType` TimedDistribution[]
    - `x` string
    - `values` DistributionEntry[]
      - `value` string
      - `count` integer
  - `closed7DaysByStatus` TimedDistribution[]
    - `x` string
    - `values` DistributionEntry[]
      - `value` string
      - `count` integer
  - `closed30DaysByStatus` TimedDistribution[]
    - `x` string
    - `values` DistributionEntry[]
      - `value` string
      - `count` integer
  - `closed12MonthsByStatus` TimedDistribution[]
    - `x` string
    - `values` DistributionEntry[]
      - `value` string
      - `count` integer
  - `closedMonthByStatus` TimedDistribution[]
    - `x` string
    - `values` DistributionEntry[]
      - `value` string
      - `count` integer
  - `closedYearByStatus` TimedDistribution[]
    - `x` string
    - `values` DistributionEntry[]
      - `value` string
      - `count` integer
  - `closedLastYearByStatus` TimedDistribution[]
    - `x` string
    - `values` DistributionEntry[]
      - `value` string
      - `count` integer
  - `closed7DaysByClosedBy` TimedDistribution[]
    - `x` string
    - `values` DistributionEntry[]
      - `value` string
      - `count` integer
  - `closed30DaysByClosedBy` TimedDistribution[]
    - `x` string
    - `values` DistributionEntry[]
      - `value` string
      - `count` integer
  - `closed12MonthsByClosedBy` TimedDistribution[]
    - `x` string
    - `values` DistributionEntry[]
      - `value` string
      - `count` integer
  - `closedMonthByClosedBy` TimedDistribution[]
    - `x` string
    - `values` DistributionEntry[]
      - `value` string
      - `count` integer
  - `closedYearByClosedBy` TimedDistribution[]
    - `x` string
    - `values` DistributionEntry[]
      - `value` string
      - `count` integer
  - `closedLastYearByClosedBy` TimedDistribution[]
    - `x` string
    - `values` DistributionEntry[]
      - `value` string
      - `count` integer

---

[API](https://skmtc.dev/surense/apis/workflows-api.md) - [All operations](https://skmtc.dev/surense/apis/workflows-api/llms.txt) - [OpenAPI document](https://skmtc.dev/surense/apis/workflows-api/revisions/b4c5c8319384?raw)
