Skip to main content
List incidents with filters
curl --request POST \
  --url https://api.coralogix.com/mgmt/openapi/latest/incidents/incidents/v1 \
  --header 'Authorization: <api-key>'
{
  "incidents": [
    {
      "assignments": [
        {
          "assignedBy": {
            "userId": "user_id"
          },
          "assignedTo": {
            "userId": "user_id"
          }
        }
      ],
      "contextualLabels": {},
      "createdAt": "2024-01-01T00:00:00.000Z",
      "displayLabels": {},
      "duration": "<string>",
      "events": [
        {
          "id": "incident_event_id",
          "incidentEventType": "INCIDENT_EVENT_TYPE_UNSPECIFIED",
          "originatorType": "ORIGINATOR_TYPE_UNSPECIFIED",
          "administrativeEvent": {
            "userId": "<string>"
          },
          "close": {
            "closedBy": {
              "userId": "user_id"
            }
          }
        }
      ],
      "id": "incident_id",
      "lastStateUpdateKey": "last_state_update_key",
      "lastStateUpdateTime": "2024-01-01T00:00:00.000Z",
      "severity": "INCIDENT_SEVERITY_UNSPECIFIED",
      "state": "INCIDENT_STATE_UNSPECIFIED",
      "status": "INCIDENT_STATUS_UNSPECIFIED",
      "closedAt": "2024-01-01T00:00:00.000Z",
      "description": "incident_description",
      "isMuted": false,
      "metaLabels": [
        {
          "key": "key",
          "value": "value"
        }
      ],
      "name": "incident_name"
    }
  ],
  "pagination": {
    "totalSize": 100,
    "nextPageToken": "next_page_token"
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Query Parameters

filter
Incident query filter · object

Filter configuration for incidents

pagination
Pagination request · object

Pagination parameters for list requests

order_bys
Incident order by · object[]

Response

Response containing a list of incidents and pagination information

incidents
Incident · object[]
required
pagination
Pagination response · object
required

Pagination information for list responses