Annotations
create
annotations.create
Create a chart annotation marking an event on a date
Risk: write
results full type
results full type
createTag
annotations.createTag
Create an annotation tag
Risk: write
delete
annotations.delete
Delete an annotation
Risk: destructive · Irreversible
results full type
results full type
get
annotations.get
Get one annotation by id
Risk: read
results full type
results full type
list
annotations.list
List the chart annotations in the project, optionally by date range
Risk: read
results full type
results full type
listTags
annotations.listTags
List the annotation tags in the project
Risk: read
update
annotations.update
Change an annotation’s description or tags
Risk: write
results full type
results full type
Audit Logs
query
auditLogs.query
Query the organization’s audit log (who changed what, when), filtered by user, type, service and date
Risk: read
results full type
results full type
pagination full type
pagination full type
Cohorts
list
cohorts.list
List every saved cohort with its id, member count, visibility and description
Risk: read
POST /cohorts/list on the query host; Mixpanel answers a bare array,
returned as { cohorts }. 402 on the free plan.
Output
cohorts full type
cohorts full type
Data Definitions
create
dataDefinitions.create
Create a Lexicon data definition (event, property, custom event, metric, behavior or cohort)
Risk: write
owners full type
owners full type
definition full type
definition full type
owners full type
owners full type
delete
dataDefinitions.delete
Delete a data definition
Risk: destructive · Irreversible
entity full type
entity full type
get
dataDefinitions.get
Get one Lexicon data definition
Risk: read
owners full type
owners full type
list
dataDefinitions.list
List Lexicon data definitions (events, properties, metrics, cohorts) with filters, paged by cursor
Risk: read
platform-<region>.mixpanel.com/v1). Pass workspace_id
for the workspace-scoped routes; otherwise the project’s. Pages by
cursor (pagination.next_cursor).
Output
results full type
results full type
pagination full type
pagination full type
merge
dataDefinitions.merge
Merge event or property definitions into one canonical definition
Risk: write
canonical full type
canonical full type
sources full type
sources full type
unmerge
dataDefinitions.unmerge
Undo a merge of data definitions
Risk: write
canonical full type
canonical full type
sources full type
sources full type
update
dataDefinitions.update
Update a data definition’s description, display name, tags, owners or hidden/blocked/verified flags; blocked: true drops its data at ingestion
Risk: destructive
owners full type
owners full type
owners full type
owners full type
Data Definition Tags
create
dataDefinitionTags.create
Create a data definition tag
Risk: write
delete
dataDefinitionTags.delete
Delete a data definition tag (it is removed from every definition)
Risk: destructive · Irreversible
get
dataDefinitionTags.get
Get one data definition tag
Risk: read
list
dataDefinitionTags.list
List data definition tags with their usage counts
Risk: read
results full type
results full type
pagination full type
pagination full type
rename
dataDefinitionTags.rename
Rename a data definition tag
Risk: write
Events
counts
events.counts
Aggregate counts of one or more events over time
Risk: read
data full type
data full type
import
events.import
Import up to 2000 server-side events (service account auth, any age), validated per event unless strict is 0
Risk: write
POST /import on the ingestion host with the service account and
project_id. Every event needs time, distinct_id and $insert_id;
Mixpanel deduplicates on those plus the event name, so a retried batch
cannot double-count. With the default strict: '1' a 400 lists the
rejected events in failed_records; the error quotes the first message.
events full type
events full type
names
events.names
The most common event names over the last 31 days
Risk: read
propertyCounts
events.propertyCounts
Aggregate counts of an event broken down by the values of one property
Risk: read
data full type
data full type
top
events.top
Today’s top events with counts and change against yesterday
Risk: read
events full type
events full type
topProperties
events.topProperties
The top property names of an event with their counts
Risk: read
Record<string, any>
topPropertyValues
events.topPropertyValues
The top values of one event property
Risk: read
track
events.track
Track up to 2000 recent events (last 5 days) with the project token, the client-side ingestion route
Risk: write
POST /track with the project token added to each event. Takes events
from the last five days only; use events.import for older data.
events full type
events full type
Experiments
archive
experiments.archive
Archive an experiment
Risk: write
results full type
results full type
create
experiments.create
Create a draft experiment
Risk: write
variants full type
variants full type
metrics full type
metrics full type
results full type
results full type
decide
experiments.decide
Record the decision on a concluded experiment (success and winning variant)
Risk: destructive · Irreversible
results full type
results full type
delete
experiments.delete
Delete an experiment
Risk: destructive · Irreversible
results full type
results full type
forceConclude
experiments.forceConclude
Stop a running experiment now, ending exposure to its variants
Risk: destructive · Irreversible
results full type
results full type
get
experiments.get
Get one experiment
Risk: read
results full type
results full type
launch
experiments.launch
Launch an experiment: live users start getting its variants
Risk: destructive
results full type
results full type
list
experiments.list
List the experiments of a workspace
Risk: read
results full type
results full type
unarchive
experiments.unarchive
Restore an archived experiment
Risk: write
results full type
results full type
update
experiments.update
Update an experiment’s fields
Risk: write
variants full type
variants full type
metrics full type
metrics full type
results full type
results full type
Export
events
export.events
Export raw events for a date range as parsed objects, with optional event-name filter, expression filter and limit
Risk: read
GET /export on the data host. The body is newline-delimited JSON; the
plugin parses each line and fails, naming only the line number, on one it
cannot parse. One request covers one date range, capped by limit.
Output
events full type
events full type
Feature Flags
create
featureFlags.create
Create a feature flag with variants and rollout rules
Risk: write
ruleset full type
ruleset full type
results full type
results full type
definitions
featureFlags.definitions
Get the definitions of every flag, for local evaluation in server SDKs
Risk: read
flags full type
flags full type
delete
featureFlags.delete
Delete a feature flag
Risk: destructive · Irreversible
results full type
results full type
evaluate
featureFlags.evaluate
Evaluate every enabled feature flag for one user and return the assigned variants
Risk: read
flags full type
flags full type
get
featureFlags.get
Get one feature flag with its ruleset
Risk: read
results full type
results full type
list
featureFlags.list
List the feature flags of a workspace
Risk: read
results full type
results full type
update
featureFlags.update
Replace a feature flag (full PUT: send every field); changes what live users are served
Risk: write
ruleset full type
ruleset full type
results full type
results full type
Funnels
list
funnels.list
List the saved funnels with their ids and names
Risk: read
funnels full type
funnels full type
query
funnels.query
Query a saved funnel for a date range, with optional segmentation and conversion window
Risk: read
meta full type
meta full type
Gdpr
cancelDeletion
gdpr.cancelDeletion
Cancel a GDPR deletion job that has not started yet
Risk: write
createDeletion
gdpr.createDeletion
Start a GDPR/CCPA deletion job that permanently deletes all events and profile data of the given users
Risk: destructive · Irreversible
gdpr_token and project_token. Deletes every event and profile
of the users; Mixpanel runs it as a job you can cancel with
gdpr.cancelDeletion until it starts.
Output
results full type
results full type
createRetrieval
gdpr.createRetrieval
Start a GDPR/CCPA data retrieval job that exports everything stored about the given users
Risk: write
results full type
results full type
getDeletion
gdpr.getDeletion
Check a GDPR deletion job
Risk: read
results full type
results full type
getRetrieval
gdpr.getRetrieval
Check a GDPR data retrieval job
Risk: read
results full type
results full type
Groups
batchUpdate
groups.batchUpdate
Apply up to 200 mixed group profile updates in one request; delete entries remove data
Risk: destructive
updates full type
updates full type
delete
groups.delete
Permanently delete a group profile and its properties
Risk: destructive · Irreversible
remove
groups.remove
Remove a value from list properties on a group profile
Risk: write
set
groups.set
Set properties on a group profile, creating it if needed
Risk: write
setOnce
groups.setOnce
Set properties on a group profile only where they are not set yet
Risk: write
union
groups.union
Merge values into list properties on a group profile, skipping duplicates
Risk: write
unset
groups.unset
Delete properties from a group profile
Risk: destructive
Identity
createAlias
identity.createAlias
Send a $create_alias event so a new id resolves to an existing distinct_id (legacy ID management)
Risk: write
createIdentity
identity.createIdentity
Send an $identify event linking an anonymous id to an identified id (original ID merge API)
Risk: write
merge
identity.merge
Merge two distinct_ids into one user with a $merge event (original ID merge API); cannot be undone
Risk: destructive · Irreversible
$merge event through /import. Projects on Simplified ID Merge (every
project created since 2023) refuse it: 400 “identity events are not
allowed when project is using simplified identity management”.
identity.createIdentity and identity.createAlias are accepted there
but have no effect.
Output
Insights
query
insights.query
Read the data behind one saved Insights report by its bookmark id
Risk: read
date_range full type
date_range full type
run
insights.run
Run an ad hoc Insights query (events, funnels, retention, cohorts, formulas) without a saved report
Risk: read
POST /insights/query: an ad hoc report from metrics, time, filters and
breakdowns, in Mixpanel’s Insights query format.
metrics full type
metrics full type
time full type
time full type
filters full type
filters full type
breakdowns full type
breakdowns full type
time_comparison full type
time_comparison full type
lift_comparison full type
lift_comparison full type
Jql
run
jql.run
Run a JQL script (custom JavaScript query) over events and profiles; JQL is in maintenance mode at Mixpanel
Risk: read
Lexicon
delete
lexicon.delete
Delete the Lexicon schema of one event or profile type
Risk: destructive · Irreversible
results full type
results full type
deleteAll
lexicon.deleteAll
Delete every Lexicon schema in the project
Risk: destructive · Irreversible
results full type
results full type
deleteForEntity
lexicon.deleteForEntity
Delete every Lexicon schema for events or for profiles
Risk: destructive · Irreversible
results full type
results full type
get
lexicon.get
Get the Lexicon schema of one event or profile type
Risk: read
list
lexicon.list
List every Lexicon schema in the project
Risk: read
results full type
results full type
listForEntity
lexicon.listForEntity
List the Lexicon schemas for events or for profiles
Risk: read
results full type
results full type
upsert
lexicon.upsert
Create or replace the Lexicon schema of one event or profile type; metadata dropped: true makes Mixpanel drop that event at ingestion
Risk: destructive
schema full type
schema full type
results full type
results full type
upsertMany
lexicon.upsertMany
Create or replace many Lexicon schemas at once; truncate deletes every schema not uploaded
Risk: destructive
entries full type
entries full type
results full type
results full type
Lookup Tables
list
lookupTables.list
List the lookup tables in the project with their ids
Risk: read
results full type
results full type
replace
lookupTables.replace
Replace every row of a lookup table with new CSV content (max 100 MB); the old rows are gone
Risk: destructive
Pipelines
create
pipelines.create
Create a data pipeline that exports project data to a bucket or warehouse (a paid add-on that bills while it runs)
Risk: destructive
object \| any[]
Output full type
Output full type
delete
pipelines.delete
Delete (cancel) a data pipeline
Risk: destructive · Irreversible
object \| any[]
Output full type
Output full type
edit
pipelines.edit
Change a pipeline’s event filter or settings
Risk: write
object \| any[]
Output full type
Output full type
list
pipelines.list
List the data pipelines of the project
Risk: read
pipelines full type
pipelines full type
pause
pipelines.pause
Pause a data pipeline
Risk: write
object \| any[]
Output full type
Output full type
resume
pipelines.resume
Resume a paused data pipeline
Risk: write
object \| any[]
Output full type
Output full type
status
pipelines.status
Get a pipeline’s export jobs by status
Risk: read
canceled full type
canceled full type
retried full type
retried full type
succeeded full type
succeeded full type
timeline
pipelines.timeline
List the dates a pipeline has synced
Risk: read
timeline full type
timeline full type
Profiles
activity
profiles.activity
Return the event activity stream of one or more users’ profiles for a date range
Risk: read
results full type
results full type
append
profiles.append
Append a value to list properties on a user profile
Risk: write
batchUpdate
profiles.batchUpdate
Apply up to 2000 mixed profile updates in one request; delete entries remove data
Risk: destructive
updates full type
updates full type
delete
profiles.delete
Permanently delete a user profile and its properties (events stay)
Risk: destructive · Irreversible
increment
profiles.increment
Add to (or subtract from) numeric properties on a user profile
Risk: write
query
profiles.query
Query user or group profiles with an expression, a cohort filter or exact distinct_ids, paged via session_id and next_page
Risk: read
POST /engage on the query host. To page, pass the response’s
next_page as page with the same session_id and the same filters;
stop when next_page is null.
Output
results full type
results full type
remove
profiles.remove
Remove a value from list properties on a user profile
Risk: write
set
profiles.set
Set properties on a user profile, creating the profile if needed
Risk: write
POST /engage with the project token. Every profile operation takes
distinct_id and its Mixpanel operator field ($set, $set_once,
$add, $union, $append, $remove, $unset). Mixpanel answers
status 1 even for a wrong token, so check the project with
profiles.query.
Output
setOnce
profiles.setOnce
Set properties on a user profile only where they are not set yet
Risk: write
union
profiles.union
Merge values into list properties on a user profile, skipping values already present
Risk: write
unset
profiles.unset
Delete properties from a user profile
Risk: destructive
Retention
frequency
retention.frequency
Frequency (addiction) report: how many users did an event on how many hours or days of each period
Risk: read
query
retention.query
Run a birth or compounded retention query for a date range, per day, week or month
Risk: read
Record<string, any>
Segmentation
average
segmentation.average
Average a numeric property of an event per time unit
Risk: read
numeric
segmentation.numeric
Segment an event by numeric ranges of a property
Risk: read
data full type
data full type
query
segmentation.query
Count an event over time, optionally segmented by a property (Segmentation report)
Risk: read
data full type
data full type
sum
segmentation.sum
Sum a numeric property of an event per time unit
Risk: read
Service Accounts
addToProjects
serviceAccounts.addToProjects
Grant service accounts access to projects with a role
Risk: write
projects full type
projects full type
create
serviceAccounts.create
Create a service account and return its secret once; this mints a new credential with the given role
Risk: destructive
results.token. Organization
calls need an organization admin or owner service account.
projects full type
projects full type
results full type
results full type
delete
serviceAccounts.delete
Delete a service account; anything using its secret stops working (including this connection, if it is this one)
Risk: destructive · Irreversible
get
serviceAccounts.get
Get one service account of the organization
Risk: read
list
serviceAccounts.list
List the organization’s service accounts
Risk: read
results full type
results full type
listForProject
serviceAccounts.listForProject
List the service accounts that can reach this project, with their roles
Risk: read
results full type
results full type
removeFromProjects
serviceAccounts.removeFromProjects
Remove service accounts from projects; they lose access at once
Risk: destructive
projects full type
projects full type
Warehouse Imports
createEventStream
warehouseImports.createEventStream
Create an import that loads events from a warehouse table
Risk: write
databricks_params full type
databricks_params full type
results full type
results full type
createGroups
warehouseImports.createGroups
Create an import that loads group profiles from a warehouse table
Risk: write
databricks_params full type
databricks_params full type
results full type
results full type
createLookupTable
warehouseImports.createLookupTable
Create an import that loads a lookup table from a warehouse table
Risk: write
databricks_params full type
databricks_params full type
mixpanel_property full type
mixpanel_property full type
results full type
results full type
createPeople
warehouseImports.createPeople
Create an import that loads user profiles from a warehouse table
Risk: write
databricks_params full type
databricks_params full type
results full type
results full type
delete
warehouseImports.delete
Delete a warehouse import, and with delete_data the data it imported
Risk: destructive · Irreversible
get
warehouseImports.get
Get one warehouse import with its settings
Risk: read
results full type
results full type
history
warehouseImports.history
List the past sync runs of a warehouse import
Risk: read
results full type
results full type
list
warehouseImports.list
List the warehouse imports of the project
Risk: read
results full type
results full type
run
warehouseImports.run
Start a sync of a warehouse import now
Risk: write
results full type
results full type
update
warehouseImports.update
Pause, resume or reschedule a warehouse import
Risk: write
databricks_params full type
databricks_params full type
results full type
results full type