POST
/
v1
/
incidents:batchGet
const fetch = require('node-fetch');

let url = 'https://api.coralogix.com/mgmt/openapi/v1/incidents:batchGet?ids=SOME_ARRAY_VALUE';

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

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error('error:' + err));
{
  "incidents": {},
  "notFoundIds": [
    "not_found_id_1",
    "not_found_id_2"
  ]
}

Authorizations

Authorization
string
header
required

API key authentication

Query Parameters

ids
string[]
required

Response

200
application/json

A successful response.

Response containing the requested incidents and any IDs that weren't found