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

let url = 'https://api.coralogix.com/mgmt/openapi/events2metrics/events2metrics/v2/labels:cardinality';

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));
{
  "permutations": [
    {
      "day": "<string>",
      "permutations": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication

Response

200 - application/json
permutations
object[]
I