Authorizations
API key authentication
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v3/events/events:batchGet';
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));
{
"events": [
{
"key": "<string>",
"value": {
"singleEvent": {
"companyId": 1,
"cxEventDedupKey": "test_dedup_key",
"cxEventKey": "test",
"cxEventLabels": [
{}
],
"cxEventMetadata": [
{}
],
"cxEventPayload": {
"test": "test"
},
"cxEventPayloadType": "test_payload_type",
"cxEventTimestamp": 1714857600,
"cxEventType": "test_type"
}
}
}
],
"notFoundIds": [
"<string>"
],
"pagination": {
"nextPageToken": "test",
"totalSize": 10
}
}
No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v3/events/events:batchGet';
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));
{
"events": [
{
"key": "<string>",
"value": {
"singleEvent": {
"companyId": 1,
"cxEventDedupKey": "test_dedup_key",
"cxEventKey": "test",
"cxEventLabels": [
{}
],
"cxEventMetadata": [
{}
],
"cxEventPayload": {
"test": "test"
},
"cxEventPayloadType": "test_payload_type",
"cxEventTimestamp": 1714857600,
"cxEventType": "test_type"
}
}
}
],
"notFoundIds": [
"<string>"
],
"pagination": {
"nextPageToken": "test",
"totalSize": 10
}
}
API key authentication
Was this page helpful?