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

let url = 'https://api.coralogix.com/mgmt/openapi/incidents/incidents/v1/incident_id/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));
{
  "incidentEvents": [
    {
      "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>"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

incident_id
string
required

ID of the incident to retrieve events for

Example:

"incident_id"

Response

Response containing all events associated with the requested incident

incidentEvents
Incident event · object[]
  • Incident event
  • Incident event
  • Incident event
  • Incident event
  • Incident event
  • Incident event
  • Incident event
  • Incident event
  • Incident event
  • Incident event
  • Incident event
  • Incident event
I