GET
/
v3
/
events
/
events:batchGet
const fetch = require('node-fetch');

let url = 'https://api.coralogix.com/mgmt/openapi/v3/events/events:batchGet?ids=SOME_ARRAY_VALUE&pagination.pageSize=SOME_INTEGER_VALUE&pagination.pageToken=SOME_STRING_VALUE&filter.timestamp.from=SOME_STRING_VALUE&filter.timestamp.to=SOME_STRING_VALUE';

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": {},
  "notFoundIds": [
    "<string>"
  ],
  "pagination": {
    "totalSize": 10,
    "nextPageToken": "test"
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Query Parameters

ids
string[]
pagination.pageSize
integer
pagination.pageToken
string
filter.timestamp.from
string
required
filter.timestamp.to
string
required

Response

200
application/json

A successful response.

The response is of type object.