Skip to main content
node
const fetch = require('node-fetch');

let url = 'https://api.coralogix.com/mgmt/openapi/incidents/incidents/v1/events';

let options = {method: 'GET', headers: {Authorization: 'Bearer <API_KEY>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error('error:' + err));
{
  "items": [
    {
      "cxEventKey": "<string>",
      "cxEventTimestamp": "2023-11-07T05:31:56Z",
      "incidentEvent": {
        "administrativeEvent": {
          "userId": "<string>"
        },
        "id": "incident_event_id",
        "incidentEventType": "INCIDENT_EVENT_TYPE_UNSPECIFIED",
        "originatorType": "ORIGINATOR_TYPE_UNSPECIFIED",
        "snoozeIndicator": {
          "durationMinutes": 123,
          "startTime": "2023-11-07T05:31:56Z",
          "userId": "<string>"
        }
      },
      "incidentEventExtendedMetadata": {
        "alertGroupByFields": [
          "<string>"
        ],
        "alertId": "<string>",
        "alertLabels": [
          {
            "key": "key",
            "value": "value"
          }
        ],
        "alertName": "<string>",
        "alertType": "INCIDENT_EVENT_ALERT_TYPE_STANDARD_OR_UNSPECIFIED",
        "incidentPermutation": [
          {
            "key": "<string>",
            "value": "<string>"
          }
        ],
        "incidentSeverity": "INCIDENT_SEVERITY_UNSPECIFIED",
        "incidentState": "INCIDENT_STATE_UNSPECIFIED",
        "incidentStatus": "INCIDENT_STATUS_UNSPECIFIED",
        "isMuted": true
      }
    }
  ],
  "pagination": {
    "nextPageToken": "next_page_token",
    "totalSize": 100
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Response

A response containing a list of incident events and pagination information

items
Extended incident event · object[]
required
pagination
object

Pagination information for list responses

I