Saltar al contenido principal
POST
JavaScript

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Cuerpo

application/json
aggregation
Meter Aggregation · object
requerido

Aggregation configuration for the meter

event_name
string
requerido

Event name to track

measurement_unit
string
requerido

measurement unit

name
string
requerido

Name of the meter

description
string | null

Optional description of the meter

filter
null | Meter Filter · object

Optional filter to apply to the meter

Ejemplo:

Respuesta

Meter created successfully

aggregation
Meter Aggregation · object
requerido
business_id
string
requerido
created_at
string<date-time>
requerido
event_name
string
requerido
id
string
requerido
measurement_unit
string
requerido
name
string
requerido
updated_at
string<date-time>
requerido
description
string | null
filter
null | Meter Filter · object

A filter structure that combines multiple conditions with logical conjunctions (AND/OR).

Supports up to 3 levels of nesting to create complex filter expressions. Each filter has a conjunction (and/or) and clauses that can be either direct conditions or nested filters.

Ejemplo:
Última modificación el 1 de abril de 2026