---
title: "Get incident statistics"
method: GET
path: "/api/v2/{org_id}/alerts/incidents/stats"
tags: ["Incidents"]
---

# Get incident statistics

`GET /api/v2/{org_id}/alerts/incidents/stats`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/v2/{org_id}/alerts/incidents/stats`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/v2/:org_id/alerts/incidents/stats/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves statistics about incidents including counts by status and severity.

## Path parameters

- `org_id` string, required

## Response `200`

Success

- IncidentStats: Statistics for incidents dashboard
  - `acknowledged_incidents` integer, required
  - `alerts_per_incident_avg` number, double, required: Average alerts per incident
  - `by_service` object, required
  - `by_severity` object, required
  - `mttr_minutes` number, double, nullable: Mean time to resolve in minutes
  - `open_incidents` integer, required
  - `resolved_incidents` integer, required
  - `total_incidents` integer, required

## Other responses

- `500`: Internal error

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
