APIs
- Authentication
- Customers
- Accounts
- Aliases
- Event Schemas
- Usage Meters
- AddOns
- Licenses
- Feature
- (Deprecated) Price Plans
- Price Plan V2
- Settings
- Price Experimentation
- Jobs
- Event Ingestion
- Entitlements
- Event Management
- Metrics
- Credits
- Invoices
- Payments
- Wallet
- InvoiceGroups
- Alerts
- Reports
List usage meters for event schema
Get a list of usage meters associated with an event schema
_sort
query paramupdated_at DESC
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Filter by status
ACTIVE
, INACTIVE
Filter by aggregations
COUNT
, SUM
Response
Aggregation to be applied on usage meter result
- COUNT - Counts number of events matching the usage meter
- SUM - Sums up results of computation of all events matching usage meter
COUNT
, SUM
Display name of usage meter. This is an auto-generated field which contains billableName of usage meter. If billableName is not provided, name will be used as display name.
255
Identifier of the usage meter
20
Name of the usage meter
50
Type of usage meter
COUNTER
Billable name of addon. Billable name takes precedence over name to display in invoice.
255
Computation to be applied on an event if it matches the matcher. In case of a COUNT aggregation type, computation should be passed as '1'
500
The order in which multiple matched computations will get evaluated
Optional identifier describing the matcher and computation pair
50
255
Structure of an event schema
Name of the event. Must be unique for an organization.
50
Version of event schema
x > 1
Description of the event
255
Name of the event dimension
50
VALUE
, JSON_LOGIC
, JSON_LOGIC_FROM_DEPENDENCY
ATTRIBUTE
, DIMENSION
Template used to generate event id based on event payload
Status of event schema
- DRAFT - Schema is in draft state
- ACTIVE - Schema is currently active
- INACTIVE - Schema is currently inactive
- ARCHIVED - Older version of event schema
DRAFT
, ACTIVE
, INACTIVE
, ARCHIVED
Status of usage meter
DRAFT
, ACTIVE
, INACTIVE
, ARCHIVED