Skip to main content
Get Daily Usage Processed GBs
curl --request POST \
  --url https://api.coralogix.com/mgmt/openapi/latest/dataplans/data-usage/v2/daily:processed-gbs \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "dateRange": {
    "fromDate": "2021-01-01T00:00:00.000Z",
    "toDate": "2021-01-01T00:00:00.000Z"
  }
}
'
{
  "gbs": [
    {
      "blockedGbs": {
        "value": 123
      },
      "blockedMetricsGbs": {
        "value": 123
      },
      "cpuProfilesGbs": {
        "value": 123
      },
      "highLogsGbs": {
        "value": 123
      },
      "highMetricsGbs": {
        "value": 123
      },
      "highTracingGbs": {
        "value": 123
      },
      "lowLogsGbs": {
        "value": 123
      },
      "lowSessionRecordingGbs": {
        "value": 123
      },
      "lowTracingGbs": {
        "value": 123
      },
      "mediumLogsGbs": {
        "value": 123
      },
      "mediumTracingGbs": {
        "value": 123
      },
      "statsDate": "2023-11-07T05:31:56Z",
      "totalGbs": {
        "value": 123
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json
dateRange
Date Range · object

This data structure represents a date range.

Response

gbs
object[]