الانتقال إلى المحتوى الرئيسي
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.

مثال:
آخر تعديل في ١ أبريل ٢٠٢٦