Query the usage data
1 min
POST
https://app.amberflo.io/usage
bodyobject
200Successful request
curl --request POST \
--url https://app.amberflo.io/usage \
--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.
In order to facilitate using the response for plotting charts, this endpoint will fill the gaps in the time series when no usage happened. If this is not needed, consider using the sparse usage endpoint.