Create a meter
Draft scaffold — not implemented or available in the API.
Creates a meter, which defines on the server what gets measured from events. eventNames or eventNamePattern and filters pick the events it reads, and measure.type sets the mode: events aggregates matching events over the billing period, singleEvent turns each event into its own measured quantity, and workflows groups related events into one outcome per workflow. Prices reference the meter by its key, which must be unique and cannot change.
Authentication
Headers
This endpoint is in the meters=v1 beta. Send this header to use it.
Request
Event-name regular expression.
String key-value pairs of your own, up to 500 characters per value. Always updatable.
Response
The type of object. Always meter.
Event-name regular expression.
true for an object on a live account, false on a test account.
String key-value pairs of your own, up to 500 characters per value. Always updatable.