Authorizations
API key authentication
Response
This data structure is used to return data usage.
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/dataplans/data-usage/v2';
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));
{
"entries": [
{
"dimensions": [
{
"pillar": "PILLAR_UNSPECIFIED"
}
],
"sizeGb": 123,
"timestamp": "2023-11-07T05:31:56Z",
"units": 123
}
]
}
No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/dataplans/data-usage/v2';
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));
{
"entries": [
{
"dimensions": [
{
"pillar": "PILLAR_UNSPECIFIED"
}
],
"sizeGb": 123,
"timestamp": "2023-11-07T05:31:56Z",
"units": 123
}
]
}
API key authentication
This data structure is used to return data usage.
Show child attributes
Was this page helpful?