---
title: "GET /api/im/reports/incidents"
method: GET
path: "/api/im/reports/incidents"
tags: ["Im"]
---

# GET /api/im/reports/incidents

`GET /api/im/reports/incidents`

## Request

- Base URL: `https://uptimeify.io`
- URL: `https://uptimeify.io/api/im/reports/incidents`
- Auth: HTTP bearer

## Query parameters

- `from` union, required
  - string, date
  - string, date-time
- `to` union, required
  - string, date
  - string, date-time
- `tz` integer
- `groupBy` 'team' | 'severity' | 'month'
- `format` 'json' | 'csv'
- `organizationId` integer

## Response `200`

Successful response

- object
  - `from` string, date-time, required
  - `to` string, date-time, required
  - `groupBy` 'team' | 'severity' | 'month', required
  - `summary` object, required
    - `count` integer, required
    - `mttaMinutes` number, nullable, required
    - `mttrMinutes` number, nullable, required
  - `groups` object[], required
    - `groupKey` string, required: Team id, severity, or for month the start of the local month as an ISO instant.
    - `groupLabel` string, required
    - `count` integer, required
    - `mttaMinutes` number, nullable, required
    - `mttrMinutes` number, nullable, required

## Other responses

- `400`: Invalid or missing parameters.
- `401`: Missing, invalid or expired API token.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api.md) · [All operations](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api/revisions/2129a771ee7e?raw)
