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

headerAuthorizationBearer <rsk_live_*>

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

Response Body

Incident summary counters.

application/json
  1. response
byStatus*
bySeverity*
total*number
mttrSeconds*number|null
Example Request
curl -X GET 'https://app.rensei.ai/api/incidents/stats'
Example Response
{  "byStatus": {    "property1": 0,    "property2": 0  },  "bySeverity": {    "property1": 0,    "property2": 0  },  "total": 0,  "mttrSeconds": 0}