mixpanel
by dragonkhoi
Verified
query_retention_report
Get data from your Retention reports
Input Schema
Name | Required | Description | Default |
---|---|---|---|
born_event | No | The first event a user must do to be counted in a birth retention cohort | |
born_where | No | An expression to filter born_events by | |
from_date | Yes | The date in yyyy-mm-dd format to begin querying from (inclusive) | |
interval | No | The number of units per individual bucketed interval. Default is 1 | |
interval_count | No | The number of individual buckets/intervals to return. Default is 1 | |
limit | No | Return the top limit segmentation values. Only applies when 'on' is specified | |
on | No | The property expression to segment the second event on | |
project_id | No | The Mixpanel project ID | |
retention_type | No | Type of retention: 'birth' (first time) or 'compounded' (recurring). Defaults to 'birth' | |
return_event | No | The event to generate returning counts for. If not specified, looks across all events | |
return_where | No | An expression to filter return events by | |
to_date | Yes | The date in yyyy-mm-dd format to query to (inclusive) | |
unit | No | The interval unit: 'day', 'week', or 'month'. Default is 'day' | |
workspace_id | No | The ID of the workspace if applicable |