---
title: "Get Epic Stats"
method: GET
path: "/api/v4/{workspace-slug}/epics/{epic-public-id}/stats"
---

# Get Epic Stats

`GET /api/v4/{workspace-slug}/epics/{epic-public-id}/stats`

## Request

- Base URL: `https://api.app.shortcut.com`
- URL: `https://api.app.shortcut.com/api/v4/{workspace-slug}/epics/{epic-public-id}/stats`
- Auth: HTTP bearer

Get Epic Stats returns calculated stats for a chosen Epic. Stats are served from this dedicated sub-endpoint (rather than the Epic response itself) to avoid the performance impact of computing them on bulk list requests.

## Path parameters

- `workspace-slug` string, required
- `epic-public-id` integer, required

## Response `200`

Resource

- EpicStatsWrapper
  - `$schema` string, required: The URI for the json-schema for this response.
  - `entity` EpicStats, required: The entity for this response.
    - `average_cycle_time` integer, nullable, required: The average cycle time (in seconds) of done Stories in this Epic. Null if no Stories are done.
    - `average_lead_time` integer, nullable, required: The average lead time (in seconds) of done Stories in this Epic. Null if no Stories are done.
    - `last_story_update` string, date-time, nullable, required: The date of the last update of a Story in this Epic.
    - `num_points` integer, required: The total number of points in this Epic.
    - `num_points_backlog` integer, required: The total number of backlog points in this Epic.
    - `num_points_done` integer, required: The total number of completed points in this Epic.
    - `num_points_started` integer, required: The total number of started points in this Epic.
    - `num_points_unstarted` integer, required: The total number of unstarted points in this Epic.
    - `num_related_documents` integer, required: The total number of documents associated with this Epic.
    - `num_stories_backlog` integer, required: The total number of backlog Stories in this Epic.
    - `num_stories_done` integer, required: The total number of done Stories in this Epic.
    - `num_stories_started` integer, required: The total number of started Stories in this Epic.
    - `num_stories_total` integer, required: The total number of Stories in this Epic.
    - `num_stories_unestimated` integer, required: The total number of Stories with no point estimate.
    - `num_stories_unstarted` integer, required: The total number of unstarted Stories in this Epic.

## Other responses

- `400`: Schema mismatch
- `404`: Resource does not exist
- `422`: Unprocessable

---

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