Create a new Usage Metric
Create a new Usage Metric
Headers
Your API credentials. Eg. Basic {credentials}
.
Use this header to select an API version
2024-07-30
Body
Type of aggregation to perform
COUNT
, UNIQUE
, SUM
, CUSTOM
The eventType
of the Usage Event to be aggregated
Type of metric (simple or grouped)
SIMPLE
, GROUPED
Human-readable name for this metric, which should be unique
Property within the event to aggregate
caseSensitive
Created at
Description for this metric
Property within the event to group results by
propertiesToNegate
propertyFilters
Human-readable unit of the aggregated metric, eg. API calls)
Response
Type of aggregation to perform
COUNT
, UNIQUE
, SUM
, CUSTOM
The eventType
of the Usage Event to be aggregated
Unique ID
Type of metric (simple or grouped)
SIMPLE
, GROUPED
Human-readable name for this metric, which should be unique
Required parameters
propertyFilters
Sequence Account ID
Property within the event to aggregate
caseSensitive
Created at
Created at
Description for this metric
Property within the event to group results by
propertiesToNegate
Human-readable unit of the aggregated metric, eg. API calls)