Meters
List all meters
This endpoint lists all meters associated with a store identified by the x-store-id header. It supports pagination with limit, page, and offset query parameters. The response includes details such as meter name, event name, aggregation type, unit, and timestamps. This is useful for efficiently managing and analyzing data flow or consumption in specific store processes.
GET
List all meters
Previous
Create a new meterThis endpoint creates a new meter for a store identified by the `x-store-id` header. The request body must include `name`, `event_name`, `aggregation_type`, and an optional `unit`. The `aggregation_type` must be one of `sum`, `count`, `max`, or `latest`. The endpoint ensures that the `event_name` is unique within the store. If successful, it returns the created meter details.
Next
List all meters