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)