मुख्य सामग्री पर जाएं
POST
JavaScript

प्राधिकरण

Authorization
string
header
आवश्यक

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

बॉडी

application/json
aggregation
Meter Aggregation · object
आवश्यक

Aggregation configuration for the meter

event_name
string
आवश्यक

Event name to track

measurement_unit
string
आवश्यक

measurement unit

name
string
आवश्यक

Name of the meter

description
string | null

Optional description of the meter

filter
null | Meter Filter · object

Optional filter to apply to the meter

उदाहरण:

प्रतिक्रिया

Meter created successfully

aggregation
Meter Aggregation · object
आवश्यक
business_id
string
आवश्यक
created_at
string<date-time>
आवश्यक
event_name
string
आवश्यक
id
string
आवश्यक
measurement_unit
string
आवश्यक
name
string
आवश्यक
updated_at
string<date-time>
आवश्यक
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.

उदाहरण:
अंतिम संशोधन 1 अप्रैल 2026