Mixpanel

Learn how to use Mixpanel with Composio

Overview

Enum

MIXPANEL

Description

Mixpanel is an analytics platform that helps companies measure user engagement and retention.

Authentication Details

username
stringRequired
password
stringRequired
region
stringRequired

Actions

Get unique, total, or average data for a single event and property over days, weeks, or months. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.

Action Parameters

event
stringRequired
format
stringDefaults to json
from_date
string
interval
integer
limit
integerDefaults to 255
name
stringRequired
project_id
integerRequired
to_date
string
type
stringRequired
unit
stringRequired
values
array
workspace_id
integer

Action Response

data
object
error
legend_size
integer
successful
boolean

Get aggregate event counts over time. supports different types of aggregation: general, unique, average, sum.

Action Parameters

event
string
events
array
from_date
stringRequired
interval
integer
project_id
integerRequired
to_date
stringRequired
type
stringDefaults to general
unit
stringDefaults to day
where
string
workspace_id
integer

Action Response

data
object
error
successful
boolean

Execute a custom jql (javascript query language) query against mixpanel’s query api. key constraints: - 60 queries/hour, max 5 concurrent queries. - 2-minute execution timeout. - 5 gb data processing limit, 2 gb output limit. - no remote network requests (xmlhttprequest) are allowed inside the jql script.

Action Parameters

params
object
project_id
integerRequired
script
stringRequired
workspace_id
integer

Action Response

data
error
successful
boolean

Get list of all cohorts in a mixpanel project. returns cohort details including name, id, count, description, creation date, and visibility. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.

Action Parameters

project_id
integerRequired
workspace_id
integer

Action Response

data
object
error
successful
boolean

Get the names and funnel ids of your funnels. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.

Action Parameters

project_id
integerRequired
workspace_id
integer

Action Response

data
array
error
successful
boolean

Get event activity feed for specified users from mixpanel query api. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.

Action Parameters

distinct_ids
arrayRequired
from_date
stringRequired
project_id
integerRequired
to_date
stringRequired
workspace_id
integer

Action Response

data
object
error
successful
boolean

Get data about how frequently users are performing events. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. example response with unit=“day” and addiction unit=“hour”: { 2012-01-01: [305, 107, 60, 41, ...], # users who did event in 1+ hours, 2+ hours, etc. 2012-01-02: [495, 204, 117, 77, ...], 2012-01-03: [671, 324, 176, 122, ...]_}

Action Parameters

addiction_unit
stringRequired
event
string
from_date
stringRequired
limit
integer
on
string
project_id
integerRequired
to_date
stringRequired
unit
stringRequired
where
string
workspace_id
integer

Action Response

computed_at
string
data
object
error
metadata
object
successful
boolean

Get data for a funnel. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.

Action Parameters

from_date
stringRequired
funnel_id
integerRequired
interval
integerDefaults to 1
length
integer
length_unit
string
limit
integerDefaults to 255
on
string
project_id
integerRequired
to_date
stringRequired
unit
string
where
string
workspace_id
integer

Action Response

data
object
error
successful
boolean

Get data from your insights reports. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.

Action Parameters

bookmark_id
integerRequired
project_id
integerRequired
workspace_id
integer

Action Response

data
object
error
successful
boolean

Get data for an event, segmented and filtered by properties, with values placed into numeric buckets. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.

Action Parameters

event
stringRequired
from_date
stringRequired
on
stringRequired
project_id
integerRequired
to_date
stringRequired
type
stringDefaults to day
unit
stringDefaults to day
where
string
workspace_id
integer

Action Response

data
object
error
successful
boolean

Query user or group profile data from mixpanel. returns list of profiles that match specified parameters. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.

Action Parameters

as_of_timestamp
integer
behaviors
integer
data_group_id
string
distinct_id
string
distinct_ids
array
filter_by_cohort
object
include_all_users
booleanDefaults to True
output_properties
array
page
integer
project_id
integerRequired
session_id
string
where
string
workspace_id
integer

Action Response

data
object
error
successful
boolean

Get cohort analysis data. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.

Action Parameters

born_event
string
born_where
string
event
string
from_date
stringRequired
interval
integerDefaults to 1
interval_count
integerDefaults to 1
limit
integer
on
string
project_id
integerRequired
retention_type
stringDefaults to birth
to_date
stringRequired
unbounded_retention
boolean
unit
stringDefaults to day
where
string
workspace_id
integer

Action Response

data
object
error
successful
boolean

Get data for an event, segmented and filtered by properties. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.

Action Parameters

event
stringRequired
from_date
stringRequired
interval
integer
limit
integerDefaults to 60
on
string
project_id
integerRequired
to_date
stringRequired
type
stringDefaults to general
unit
stringDefaults to day
where
string
workspace_id
integer

Action Response

data
object
error
successful
boolean

Get the top events for today, with their counts and the normalized percent change from yesterday. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.

Action Parameters

limit
integerDefaults to 100
project_id
integerRequired
type
stringRequired
workspace_id
integer

Action Response

data
object
error
successful
boolean

Get a list of the most common events over the last 31 days. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.

Action Parameters

limit
integerDefaults to 255
project_id
integerRequired
type
stringRequired
workspace_id
integer

Action Response

data
array
error
successful
boolean

Get the top property names for an event. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.

Action Parameters

event
stringRequired
limit
integerDefaults to 10
project_id
integerRequired
workspace_id
integer

Action Response

data
object
error
successful
boolean

Get the top values for a property. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.

Action Parameters

event
stringRequired
limit
integerDefaults to 255
name
stringRequired
project_id
integerRequired
workspace_id
integer

Action Response

data
array
error
successful
boolean