Skip to main content
Get Data Usage
curl --request GET \
  --url https://api.coralogix.com/mgmt/openapi/latest/dataplans/data-usage/v2 \
  --header 'Authorization: <api-key>'
{
  "entries": [
    {
      "dimensions": [
        {
          "priority": "PRIORITY_UNSPECIFIED"
        }
      ],
      "sizeGb": 123,
      "timestamp": "2023-11-07T05:31:56Z",
      "units": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication

Query Parameters

date_range
Date Range · object

This data structure represents a date range.

resolution
string
aggregate
enum<string>[]
Available options:
AGGREGATE_BY_UNSPECIFIED,
AGGREGATE_BY_APPLICATION,
AGGREGATE_BY_SUBSYSTEM,
AGGREGATE_BY_PILLAR,
AGGREGATE_BY_PRIORITY,
AGGREGATE_BY_POLICY_NAME,
AGGREGATE_BY_SEVERITY
dimension_filters
object[]

Response

This data structure is used to return data usage.

entries
Data Usage Entry · object[]