---
title: "Get error dashboard statistics"
method: GET
path: "/projects/{project_id}/error-dashboard-stats"
tags: ["error-tracking"]
---

# Get error dashboard statistics

`GET /projects/{project_id}/error-dashboard-stats`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{project_id}/error-dashboard-stats`
- Auth: none declared

## Path parameters

- `project_id` integer, required

## Query parameters

- `start_time` string, date-time, required
- `end_time` string, date-time, required
- `environment_id` integer, nullable
- `compare_to_previous` boolean, nullable

## Response `200`

Error dashboard statistics

- ErrorDashboardStatsResponse
  - `comparison_end_time` string, date-time, nullable
  - `comparison_start_time` string, date-time, nullable
  - `end_time` string, date-time, required
  - `error_groups` integer, required
  - `error_groups_previous_period` integer, required
  - `start_time` string, date-time, required
  - `total_errors` integer, required
  - `total_errors_change_percent` number, double, required
  - `total_errors_previous_period` integer, required

## Other responses

- `500`: Internal server error

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
