mixpanel
by dragonkhoi
Verified
aggregate_event_counts
Get unique, total, or average data for a set of events over N days, weeks, or months
Input Schema
Name | Required | Description | Default |
---|---|---|---|
events | Yes | The event or events that you wish to get data for, encoded as a JSON array. Example format: "["play song", "log in", "add playlist"]" | |
from_date | No | The date in yyyy-mm-dd format to begin querying from (inclusive) | |
interval | No | The number of units to return data for. Specify either interval or from_date and to_date | |
project_id | No | The Mixpanel project ID | |
to_date | No | The date in yyyy-mm-dd format to query to (inclusive) | |
type | No | The type of data to fetch | |
unit | Yes | The level of granularity of the data you get back |