---
title: "List a host's incidents"
method: GET
path: "/v1/hosts/{hostname}/incidents"
tags: ["Incidents"]
---

# List a host's incidents

`GET /v1/hosts/{hostname}/incidents`

## Request

- Base URL: `https://api.peppolstatus.com`
- URL: `https://api.peppolstatus.com/v1/hosts/{hostname}/incidents`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Incidents for one host, newest-first, cursor-paginated.

## Path parameters

- `hostname` string, required

## Query parameters

- `status` 'open' | 'closed'
- `since` string, date-time
- `limit` integer
- `cursor` string

## Response `200`

A page of incidents.

- IncidentPage: A page of incidents.
  - `items` IncidentView[], required
    - `id` integer, required
    - `hostname` string, required
    - `role` 'SMP' | 'AP', required
    - `status` 'open' | 'closed', required
    - `severity` 'up' | 'degraded' | 'down', required
    - `started_at` string, date-time, required
    - `ended_at` string, date-time, nullable, required
    - `timeline` IncidentTimelineStep[], required
      - `at` string, date-time, required
      - `severity` 'up' | 'degraded' | 'down', required
    - `kind` 'quorum' | 'partial': Incident kind (audit finding #39). 'quorum' is a network-wide incident (>= half the healthy probe locations agreed non-up); 'partial' is a single-location sustained outage that never formed quorum. Absent on pre-#39 payloads means 'quorum'.
    - `location` string, nullable: The affected probe location on a 'partial' incident; null otherwise.
  - `next_cursor` string, nullable, required: Opaque cursor for the next page, or null on the last page.

## Other responses

- `400`: An invalid `status`, `since`, `limit` or `cursor`.

---

[API](https://skmtc.dev/peppolstatus/apis/peppolstatus-api.md) · [All operations](https://skmtc.dev/peppolstatus/apis/peppolstatus-api/llms.txt) · [OpenAPI document](https://skmtc.dev/peppolstatus/apis/peppolstatus-api/revisions/7e74fb32f23c?raw)
