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

let url = 'https://api.coralogix.com/mgmt/openapi/v3/alerts/download';

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));
{
  "content": "SGVsbG8gV29ybGQ="
}

Authorizations

Authorization
string
header
required

API key authentication

Response

A response containing the downloaded alert data

content
string<byte>
required

Base64-encoded binary data of the alert definitions

Example:

"SGVsbG8gV29ybGQ="

I