GET
/
v1
/
rule-group-sets
/
{id}
const fetch = require('node-fetch');

let url = 'https://api.coralogix.com/mgmt/openapi/v1/rule-group-sets/%7Bid%7D';

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));
{
  "id": "<string>",
  "groups": [
    {
      "name": "<string>",
      "interval": 123,
      "limit": "<string>",
      "rules": [
        {
          "record": "<string>",
          "expr": "<string>",
          "labels": {},
          "lastEvalDurationMs": "<string>"
        }
      ],
      "lastEvalAt": "<string>",
      "version": 123,
      "id": "<string>"
    }
  ],
  "name": "<string>"
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

id
string
required

Response

200
application/json

A successful response.

An output set of rule groups.

GET
/
v1
/
rule-group-sets
/
{id}
const fetch = require('node-fetch');

let url = 'https://api.coralogix.com/mgmt/openapi/v1/rule-group-sets/%7Bid%7D';

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));
{
  "id": "<string>",
  "groups": [
    {
      "name": "<string>",
      "interval": 123,
      "limit": "<string>",
      "rules": [
        {
          "record": "<string>",
          "expr": "<string>",
          "labels": {},
          "lastEvalDurationMs": "<string>"
        }
      ],
      "lastEvalAt": "<string>",
      "version": 123,
      "id": "<string>"
    }
  ],
  "name": "<string>"
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

id
string
required

Response

200
application/json

A successful response.

An output set of rule groups.