This API provides date-wise breakdowns of event metrics (e.g., total events, unique users, unique sessions) across a given time range. The data can be aggregated by daily, weekly, monthly, or annual intervals, and supports powerful filters based on event properties.
📥 Request Parameters
Field
Type
Required
Description
fromDate
string
✅ Yes
Start date in YYYY-MM-DD format.
toDate
string
✅ Yes
End date in YYYY-MM-DD format.
timeseries
string
❌ No
Interval for data breakdown: daily, weekly, monthly, annual. Default: daily.
trend_metric
string
✅ Yes
Metric to analyze: total_events, unique_users, unique_sessions.
event_name
string
✅ Yes
Name of the event to analyze.
event_property
array
❌ No
List of filters on event properties. See below for format.
🔎 Event Property Filter Format
Each object in event_property should include:
Field
Description
key
Event attribute (e.g., Attributes - name, browser) .Pass custom attributes as Attributes - attribute_name For system attributes details info see below table
operator
Filter condition. Supported values: Include, Exclude, Contains, Not contains, Is exist, Is one of, Is none of, Less than, Greater than, Range, Equals to, Is
value
Filter value(s). Can be strings, booleans, numbers, or arrays (e.g., ["Chrome", "Firefox"])
🧰 System Attributes Reference (Display Name → System Key)