Metering Cloud
Querying Reported Usage

Fetch the current customer usage-rate

1min
GET
https://app.amberflo.io/usage/current-usage-rate

This api is to provide you with the current usage-rate of a single customer. The usage rate of a customer is represents:

  1. Momentarily Meters (Sum) - the frequency which the customer uses the account's system (measure as the total usage in the last hour).
  2. Long-Lasting Meters (Max, Duration, Running Total) - the scale of using the system resources (like how many GB of storage are currently being used by the customer).

This (knowing what is the current usage-rate) can be helpful for cases where the account wants to limit the customer from using the system resource:

  1. Momentarily Meters - force a qph (queries per hour).
  2. Long-Lasting Meters - force a policy (the customer can use up to 4.5Gb of storage).
Authentication
x-api-key
Query Parameters
meterApiName
*
customerId
*
groupByEventId
Responses
200
Successful response
rate
request