Usage Metrics
Calculate usage metric for customer and timeframe
Calculate usage metric for customer and timeframe
GET
/
usage-metrics
/
{usageMetricId}
/
calculate
Headers
Authorization
string
requiredYour API credentials. Eg. Basic {credentials}
.
Sequence-Version
enum<string>
Use this header to select an API version
Available options:
2024-07-30
Path Parameters
usageMetricId
string
requiredUsage Metric ID
Query Parameters
customerAliases
string
requiredCustomer Aliases / internal IDs
periodStart
string
requiredBilling period start
periodEnd
string
requiredBilling period end (inclusive)
customParameters
string
Custom parameter values
Response
200 - application/json
name
string
requiredmetricType
enum<string>
requiredAvailable options:
SIMPLE
, GROUPED
eventType
string
requiredaggregationType
enum<string>
requiredAvailable options:
COUNT
, UNIQUE
, SUM
, CUSTOM
eventCount
integer
requiredvalue
number
requiredunit
string
minEventId
string
maxEventId
string