Skip to content

Engagement / active-user growth data

projectId
required
string
startDate
string format: date

Inclusive window start (YYYY-MM-DD). Parsed with parseDateRangeParams; when either startDate or endDate is missing/invalid the route falls back to a rolling default window (30 days for events/visits/attribution, 7 days for growth).

endDate
string format: date

Inclusive window end (YYYY-MM-DD). See startDate for fallback behavior.

Engagement data. Object literal at analytics.ts:2145-2184. One trend entry per UTC day in the requested range (default 30d). dauMauRatio is a percentage with 2 decimals (0 when mau == 0). Error path (500): {error, detail}.

Media typeapplication/json
object
trend
required
Array<object>
object
date
required

UTC YYYY-MM-DD

string
dau
required
integer
wau
required

Rolling 7-day unique subjects.

integer
mau
required

Rolling 30-day unique subjects.

integer
dauMauRatio
required

Percent, 2 decimals; 0 when mau == 0.

number
_meta
required
object
scope
required
string
Allowed values: EVENT SESSION VISITOR IDENTIFIED_USER ACCOUNT
scopeLabel
required
string

Load failed.

Media typeapplication/json
object
key
additional properties
any
Examplegenerated
json
{}