Developer docs menu
Reference · Incidents
List incidents
/api/incidentsReturns your organisation's incidents, most recently reported first, with counts by stage. Paged with limit and offset: 100 by default, at most 200.
Parameters
severityquery · string, one of low, medium, high, criticaloptionalOnly incidents of this severity, in lower case.
lifecycleStagequery · string, one of REPORTED, TRIAGE, INVESTIGATING, REMEDIATING, READY_TO_CLOSE, CLOSEDoptionalOnly incidents at this stage, in upper case.
limitquery · integer, 1 to 200optionalHow many to return, 1 to 200. Defaults to 100.
offsetquery · integer, 0 to …optionalHow many to skip. Defaults to 0.
Example request
curl -s "https://www.quickpolicy.co.uk/api/incidents?severity=high&limit=20" \
-H "Authorization: Bearer $QP_API_KEY"Response
200 OK with a JSON body. Responses can carry more fields than are listed here; ignore any you do not recognise.
successalways trueviewstringstatsobjectCounts across the whole organisation, whatever filters you pass.
totalintegercriticalintegerreportedintegertriageintegerinvestigatingintegerremediatingintegerreadyToCloseintegerclosedinteger
incidentsarray of objectidstringtitlestringdescriptionstringseveritystring, one of low, medium, high, criticalcategorystringThe incident type.
statusstringlifecycleStagestring, one of REPORTED, TRIAGE, INVESTIGATING, REMEDIATING, READY_TO_CLOSE, CLOSEDprioritystringcreatedAtstringISO 8601 date and time, UTC.
updatedAtstringISO 8601 date and time, UTC.
reportedAtstringISO 8601 date and time, UTC.
occurredAtstring, or nullISO 8601 date and time, UTC.
detectedAtstring, or nullISO 8601 date and time, UTC.
businessImpactSummarystring, or nullimpactAreasarray of stringaffectedSystemsarray of stringdataExposureStatusstringrecordsAffectedEstimateanypeopleAffectedEstimateanyexternalNotificationRequiredboolean, or nullincidentOwnerIdstring, or nullrelatedPolicyIdstring, or null_countobjectattachmentsintegeractionsintegerinvestigationsintegernotificationsintegersuggestionsintegerImprovement suggestions still waiting for a decision.
paginationobjectlimitintegeroffsetintegertotalintegerHow many incidents match your filters.
hasMorebooleanTrue when there are more matching incidents after this page.
{
"success": true,
"view": "list",
"stats": {
"total": 4,
"critical": 1,
"reported": 1,
"triage": 1,
"investigating": 1,
"remediating": 0,
"readyToClose": 0,
"closed": 1
},
"incidents": [
{
"id": "cm3inc0001",
"title": "Laptop left on a train",
"description": "A company laptop was left on the 08:12 to London Bridge.",
"severity": "high",
"category": "DATA_BREACH",
"status": "OPEN",
"lifecycleStage": "TRIAGE",
"priority": "HIGH",
"reportedAt": "2026-11-01T09:30:00.000Z",
"_count": {
"attachments": 0,
"actions": 2,
"investigations": 0,
"notifications": 1,
"suggestions": 0
}
}
],
"pagination": {
"limit": 100,
"offset": 0,
"total": 4,
"hasMore": false
}
}Errors
Every error has a JSON body with an error message. About errors
401The key is missing, wrong, deleted, switched off or past its expiry date.{"error":{"code":"UNAUTHORIZED","message":"The API key is missing, wrong, deleted or past its expiry date."}}403Your organisation's plan no longer includes API access. Checked on every request.{"error":{"code":"API_ACCESS_NOT_IN_PLAN","message":"Your organisation's plan no longer includes API access, so its API keys have stopped working."}}429The key has made more than 120 requests in a minute. Wait for the seconds in Retry-After.{"error":{"code":"RATE_LIMITED","message":"This key has made more than 120 requests in a minute. Wait 42 seconds and try again."}}403The key does not have read:incidents or admin.{"error":{"code":"INSUFFICIENT_SCOPE","message":"This key needs the read:incidents scope (or admin)."}}403Your plan does not include incident management.{"error":{"code":"FEATURE_NOT_IN_PLAN","message":"Incident operations are available on Professional and custom packages."}}400A severity, lifecycleStage, limit or offset value is not one we accept.{"error":{"code":"INVALID_FILTER","message":"Invalid lifecycleStage filter. Allowed values: REPORTED, TRIAGE, INVESTIGATING, REMEDIATING, READY_TO_CLOSE, CLOSED"}}500Something went wrong on our side.{"error":{"code":"INTERNAL_ERROR","message":"Failed to process incident request."}}