---
title: "Get a problem's history per day"
method: GET
path: "/api/v1/data/problems/{id}/history"
---

# Get a problem's history per day

`GET /api/v1/data/problems/{id}/history`

## Request

- Base URL: `https://moda.dev`
- URL: `https://moda.dev/api/v1/data/problems/{id}/history`
- Auth: API key in header `x-api-key`

Returns one problem's incidents and users per UTC day (the dashboard's problem history loader) and the window against the window of equal length before it. A merged problem's history is its survivor's.

## Path parameters

- `id` string, required

## Query parameters

- `days_back` integer

## Response `200`

Successful response.

- object: problem_id, requested_problem_id, days_back, first_seen, last_seen, compare (incidents, signals), series (incidents, users as [date, value]).

## Other responses

- `401`: The x-api-key header is missing, invalid, or revoked.
- `404`: The requested resource was not found.

---

[API](https://skmtc.dev/moda-dev/apis/moda-data-api.md) - [All operations](https://skmtc.dev/moda-dev/apis/moda-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/moda-dev/apis/moda-data-api/revisions/19a11ad88cf6?raw)
