---
title: "Get error time series data for charts"
method: GET
path: "/projects/{project_id}/error-time-series"
tags: ["error-tracking"]
---

# Get error time series data for charts

`GET /projects/{project_id}/error-time-series`

## 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-time-series`
- Auth: none declared

## Path parameters

- `project_id` integer, required

## Query parameters

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

## Response `200`

Error time series data

- ErrorTimeSeriesDataResponse[]
  - `count` integer, required
  - `timestamp` string, required

## Other responses

- `400`: Range wider than 366 days, too many points, or a bucket that can't be read or is too wide
- `500`: Internal server error

## Changes

- **2026-11-03** `0add2fdd114a`: 1 info
  - added the non-success response with the status `400`
- **2026-11-03** `fcfcfae25744`: 1 info
  - removed the non-success response with the status `400`
- **2026-11-03** `af07888c38c0`: 1 info
  - added the non-success response with the status `400`
- **2026-09-07** `cdc1afae1752`: 1 info
  - added the new optional `query` request parameter `environment_id`
- **2026-09-07** `f7404eb7ac98`: 1 warning
  - deleted the `query` request parameter `environment_id`

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/error-time-series/get.md)

---

[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)
