Headers
Your API credentials. Eg. Basic {credentials}
.
Use this header to select an API version
2024-07-30
Body
Human-readable name for this metric, which should be unique
"Total length of sent messages."
Type of metric (simple or grouped)
SIMPLE
, GROUPED
"GROUPED"
The eventType
of the Usage Event to be aggregated
"message_sent"
Type of aggregation to perform
COUNT
, UNIQUE
, SUM
, CUSTOM
"COUNT"
Description for this metric
"Total length of sent messages."
Property within the event to aggregate
"message_length"
Property within the event to group results by
"channel"
Human-readable unit of the aggregated metric, eg. API calls)
"bytes"
Created at
"2022-06-28T16:47:00Z"
propertyFilters
caseSensitive
true
propertiesToNegate
["channels"]
Response
Created
Unique ID
"f092246c-6b90-4106-bcca-304ccf06bf45"
Sequence Account ID
"ec1479a2-6ba1-421f-a7de-0853a20d17a1"
Human-readable name for this metric, which should be unique
"Total length of sent messages."
Type of metric (simple or grouped)
SIMPLE
, GROUPED
"GROUPED"
The eventType
of the Usage Event to be aggregated
"message_sent"
Type of aggregation to perform
COUNT
, UNIQUE
, SUM
, CUSTOM
"COUNT"
propertyFilters
Required parameters
[
{
"id": "2963e49a-c8e0-4673-89f5-7a805c0faf14",
"usageMetricId": "f092246c-6b90-4106-bcca-304ccf06bf45",
"name": "myParam",
"type": "INTEGER",
"description": "My parameter",
"defaultValue": "10"
}
]
Description for this metric
"Total length of sent messages."
Property within the event to aggregate
"message_length"
Property within the event to group results by
"channel"
Human-readable unit of the aggregated metric, eg. API calls)
"bytes"
Created at
"2022-06-28T16:47:00Z"
Created at
"2022-06-28T16:47:00Z"
caseSensitive
true
propertiesToNegate
["channels"]