GET
/
usage-metrics
/
{usageMetricId}
/
calculate

Headers

Authorization
string
required

Your 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
required

Usage Metric ID

Query Parameters

customerAliases
string
required

Customer Aliases / internal IDs

periodStart
string
required

Billing period start

periodEnd
string
required

Billing period end (inclusive)

customParameters
string

Custom parameter values

Response

200 - application/json
name
string
required
metricType
enum<string>
required
Available options:
SIMPLE,
GROUPED
eventType
string
required
aggregationType
enum<string>
required
Available options:
COUNT,
UNIQUE,
SUM,
CUSTOM
eventCount
integer
required
value
number
required
unit
string
minEventId
string
maxEventId
string