Create Meter
Create a meter.
Scopes: meters:write
Documentation Index
Fetch the complete documentation index at: https://polar-dependabot-npm-and-yarn-docs-openapi-sampler-1-7-3.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
You can generate an Organization Access Token from your organization's settings.
Body
The name of the meter. Will be shown on customer's invoices and usage.
3The filter to apply on events that'll be used to calculate the meter.
The aggregation to apply on the filtered events to calculate the meter.
- CountAggregation
- PropertyAggregation
- UniqueAggregation
Key-value object allowing you to store additional information.
The key must be a string with a maximum length of 40 characters. The value must be either:
- A string with a maximum length of 500 characters
- An integer
- A floating-point number
- A boolean
You can store up to 50 key-value pairs.
The unit of the meter.
scalar, token, custom The label for the custom unit, e.g. 'request'. Required when unit is 'custom'.
The multiplier to convert from the base unit to display scale, e.g. 1000 to display per 1000 units. Defaults to 1 when not provided.
x > 0The organization ID.
"1dbfc517-0bbf-4301-9ba8-555ca42b9737"
Response
Meter created.
Creation timestamp of the object.
Last modification timestamp of the object.
The ID of the object.
The name of the meter. Will be shown on customer's invoices and usage.
The unit of the meter.
scalar, token, custom The filter to apply on events that'll be used to calculate the meter.
The aggregation to apply on the filtered events to calculate the meter.
- CountAggregation
- PropertyAggregation
- UniqueAggregation
The ID of the organization owning the meter.
The label for the custom unit.
The multiplier to convert from base unit to display scale.
Whether the meter is archived and the time it was archived.

