Query the usage data (sparse)
1 min
POST
https://app.amberflo.io/usage/sparse
bodyobject
200Successful request
curl --request POST \
--url https://app.amberflo.io/usage/sparse \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"meterApiName": "",
"timeRange": {
"startTimeInSeconds": 0
},
"take": {
"limit": 0
}
}'This API is a generic statistical query tool which can allow you to fetch the usage or usage-rate (scale of usage) over time.
Differently from the usage endpoint, this one does not fill the gaps in the time series when no usage happened.