Rensei docs
API ReferenceIncidents

Get incident summary counts (by status, by severity) and MTTR.

Returns incident counts grouped by status and severity, a total, and mean-time-to-recovery (seconds) for the authenticated org. Bearer-reachable for human principals (user token or browser session); rsk_* API keys and BYOA OAuth-agent tokens are rejected 403.

GET
/api/incidents/stats

Authorization

AuthorizationBearer <token>

Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.

In: header

Response Body

application/json

curl -X GET "https://example.com/api/incidents/stats"
{
  "byStatus": {
    "property1": 0,
    "property2": 0
  },
  "bySeverity": {
    "property1": 0,
    "property2": 0
  },
  "total": 0,
  "mttrSeconds": 0
}
Empty
Empty