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

let url = 'https://api.coralogix.com/mgmt/openapi/v1/custom_enrichment/1';

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));
{
  "customEnrichment": {
    "description": "<string>",
    "fileName": "<string>",
    "fileSize": 123,
    "id": 123,
    "isQueryOnly": true,
    "name": "<string>",
    "version": 123
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

id
integer
required
Example:

1

Response

200 - application/json

This response data structure is obtained when a custom enrichment is retrieved

customEnrichment
object
required
I