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

let url = 'https://api.coralogix.com/mgmt/openapi/v3/events:count';

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));
{
  "count": 10,
  "reachedLimit": false
}

Authorizations

Authorization
string
header
required

API key authentication

Response

This data structure represents a response to list events count

count
string<uint64>
required
Example:

10

reachedLimit
boolean
required
Example:

false

I