Skip to content

/v1 reference: Incidents

The operations of this resource. They share the pagination and error vocabulary described in Overview and Errors. Example values on this page are fictitious. The other operations are in the complete reference.

Operations

List incidents

GET /v1/incidents

The tenant's incident register: type, severity, status, the key dates and, per incident, its regulatory notification deadlines (DORA, NIS2, GDPR, AI Act) in notifications, each with its stage, its status (computed on every read, as the console does), its due date and the date the report that met it was submitted. Read only; free text other than the title, and people, are not published. Served while the tenant has the supply_risk module.

Required scope: incidents:read

Parameters:

Parameter In Required Type Description
page query no integer 1-based page number. Defaults to 1.
per_page query no integer Items per page, 1..200. Defaults to 50.
sort query no enum(detected_at, created_at, updated_at) Field to order by. One of: detected_at, created_at, updated_at.
order query no enum(asc, desc) Sort direction. Defaults to desc.
status query no string Exact status match. Known values: open, investigating, contained, resolved, closed. Open vocabulary: any other value is matched exactly and matches nothing, and the answer then carries a meta.warnings entry and the X-HS-Unknown-Filter header.
severity query no string Exact severity match. Known values: critical, high, medium, low. Open vocabulary: any other value is matched exactly and matches nothing, and the answer then carries a meta.warnings entry and the X-HS-Unknown-Filter header.
type query no string Exact type match. Known values: cybersecurity, service_disruption, data_breach, system_failure, third_party, fraud, physical, compliance. Open vocabulary: any other value is matched exactly and matches nothing, and the answer then carries a meta.warnings entry and the X-HS-Unknown-Filter header.
X-HS-Tenant header no string The tenant to read, as its id (a UUID, any case). REQUIRED with a portfolio key (hsp_…); with a tenant API key or an OAuth token, optional and accepted only when it equals the credential’s own tenant. Never a slug.

Example response (200, fictitious values):

{
  "data": [
    {
      "id": "44444444-4444-4444-8444-444444444444",
      "reference": "INC-2026-0007",
      "title": "Cifrado de ficheros en el servidor de nóminas",
      "type": "cybersecurity",
      "severity": "high",
      "status": "investigating",
      "phase": "response",
      "occurred_at": "2026-11-10T06:40:00Z",
      "detected_at": "2026-11-10T07:15:00Z",
      "classified_major_at": null,
      "contained_at": "2026-11-10T11:00:00Z",
      "recovered_at": null,
      "resolved_at": null,
      "closed_at": null,
      "personal_data_breached": true,
      "cross_border": false,
      "ai_system_involved": false,
      "aiact_role": null,
      "gdpr_role": "controller",
      "vendor_id": null,
      "notifications": [
        {
          "framework": "gdpr",
          "stage": "dpa_notification",
          "status": "met",
          "anchor": "awareness",
          "due_at": "2026-11-13T07:15:00Z",
          "submitted_at": "2026-11-12T16:30:00Z"
        },
        {
          "framework": "nis2",
          "stage": "early_warning",
          "status": "met",
          "anchor": "awareness",
          "due_at": "2026-11-11T07:15:00Z",
          "submitted_at": "2026-11-10T18:00:00Z"
        },
        {
          "framework": "nis2",
          "stage": "notification",
          "status": "pending",
          "anchor": "awareness",
          "due_at": "2026-11-13T07:15:00Z",
          "submitted_at": null
        },
        {
          "framework": "nis2",
          "stage": "final",
          "status": "awaiting",
          "anchor": "previous_submission",
          "due_at": null,
          "submitted_at": null
        }
      ],
      "created_at": "2026-11-10T07:20:00Z",
      "updated_at": "2026-11-12T16:31:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "per_page": 50,
    "total": 3,
    "total_pages": 1
  }
}

Fetch one incident

GET /v1/incidents/{id}

The same object as the collection, for a single incident by id. Another tenant's id answers 404, like one that does not exist.

Required scope: incidents:read

Parameters:

Parameter In Required Type Description
id path yes string Incident identifier.
X-HS-Tenant header no string The tenant to read, as its id (a UUID, any case). REQUIRED with a portfolio key (hsp_…); with a tenant API key or an OAuth token, optional and accepted only when it equals the credential’s own tenant. Never a slug.

Example response (200, fictitious values):

{
  "data": {
    "id": "44444444-4444-4444-8444-444444444444",
    "reference": "INC-2026-0007",
    "title": "Cifrado de ficheros en el servidor de nóminas",
    "type": "cybersecurity",
    "severity": "high",
    "status": "investigating",
    "phase": "response",
    "occurred_at": "2026-11-10T06:40:00Z",
    "detected_at": "2026-11-10T07:15:00Z",
    "classified_major_at": null,
    "contained_at": "2026-11-10T11:00:00Z",
    "recovered_at": null,
    "resolved_at": null,
    "closed_at": null,
    "personal_data_breached": true,
    "cross_border": false,
    "ai_system_involved": false,
    "aiact_role": null,
    "gdpr_role": "controller",
    "vendor_id": null,
    "notifications": [
      {
        "framework": "gdpr",
        "stage": "dpa_notification",
        "status": "met",
        "anchor": "awareness",
        "due_at": "2026-11-13T07:15:00Z",
        "submitted_at": "2026-11-12T16:30:00Z"
      },
      {
        "framework": "nis2",
        "stage": "early_warning",
        "status": "met",
        "anchor": "awareness",
        "due_at": "2026-11-11T07:15:00Z",
        "submitted_at": "2026-11-10T18:00:00Z"
      },
      {
        "framework": "nis2",
        "stage": "notification",
        "status": "pending",
        "anchor": "awareness",
        "due_at": "2026-11-13T07:15:00Z",
        "submitted_at": null
      },
      {
        "framework": "nis2",
        "stage": "final",
        "status": "awaiting",
        "anchor": "previous_submission",
        "due_at": null,
        "submitted_at": null
      }
    ],
    "created_at": "2026-11-10T07:20:00Z",
    "updated_at": "2026-11-12T16:31:00Z"
  }
}