curl --request POST \
--url https://api.coralogix.com/mgmt/openapi/latest/dataplans/data-usage/v2/daily:units \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"range": "RANGE_UNSPECIFIED"
}
'{
"units": [
{
"blockedMetricsUnits": {
"value": 123
},
"blockedUnits": {
"value": 123
},
"cpuProfilesUnits": {
"value": 123
},
"evaluationUnits": {
"value": 123
},
"highLogsUnits": {
"value": 123
},
"highMetricsUnits": {
"value": 123
},
"highTracingUnits": {
"value": 123
},
"lowLogsUnits": {
"value": 123
},
"lowSessionRecordingUnits": {
"value": 123
},
"lowTracingUnits": {
"value": 123
},
"mediumLogsUnits": {
"value": 123
},
"mediumTracingUnits": {
"value": 123
},
"statsDate": "2023-11-07T05:31:56Z",
"totalUnits": {
"value": 123
}
}
]
}No description available
curl --request POST \
--url https://api.coralogix.com/mgmt/openapi/latest/dataplans/data-usage/v2/daily:units \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"range": "RANGE_UNSPECIFIED"
}
'{
"units": [
{
"blockedMetricsUnits": {
"value": 123
},
"blockedUnits": {
"value": 123
},
"cpuProfilesUnits": {
"value": 123
},
"evaluationUnits": {
"value": 123
},
"highLogsUnits": {
"value": 123
},
"highMetricsUnits": {
"value": 123
},
"highTracingUnits": {
"value": 123
},
"lowLogsUnits": {
"value": 123
},
"lowSessionRecordingUnits": {
"value": 123
},
"lowTracingUnits": {
"value": 123
},
"mediumLogsUnits": {
"value": 123
},
"mediumTracingUnits": {
"value": 123
},
"statsDate": "2023-11-07T05:31:56Z",
"totalUnits": {
"value": 123
}
}
]
}API key authentication
RANGE_UNSPECIFIED, RANGE_CURRENT_MONTH, RANGE_LAST_30_DAYS, RANGE_LAST_90_DAYS, RANGE_LAST_WEEK, RANGE_LAST_YEAR Show child attributes
Was this page helpful?