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

let url = 'https://api.coralogix.com/mgmt/openapi/v3/alert-event/%7Bid%7D';

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));
{
  "id": "<string>",
  "pagination": {
    "nextPageToken": "<string>",
    "totalSize": 123
  },
  "singlePermutation": {
    "activityAnalysis": {
      "rules": [
        "<string>"
      ],
      "status": "ACTIVITY_ANALYSIS_STATUS_ACTIVATE_OR_UNSPECIFIED"
    },
    "alertId": "<string>",
    "groupLabels": [
      {
        "key": "<string>",
        "value": "<string>"
      }
    ],
    "incidentCorrelationKey": "<string>",
    "payload": {},
    "payloadType": "<string>",
    "permutationId": "<string>",
    "permutationLabels": [
      {
        "key": "<string>",
        "value": "<string>"
      }
    ],
    "preGroupingEventId": "<string>",
    "status": "ALERT_STATUS_RESOLVED_OR_UNSPECIFIED",
    "timestamp": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

id
string
required

Response

  • Get alert event response
  • Get alert event response
id
string
pagination
object
singlePermutation
object
I