Skip to main content
Mixpanel logo
  • Category: analytics
  • Auth: BASIC
  • Composio-managed OAuth available? N/A
  • Tools: 53
  • Triggers: 0
  • Slug: MIXPANEL
  • Version: 20261101_00

Tools

Slug: MIXPANEL_ADD_SERVICE_ACCOUNTS_TO_PROJECTSAdd existing service accounts to projects in an organization, assigning the specified role in each project to every listed account. Requires a service account with organization admin or owner access.

Input Parameters

array
required
Projects and roles to assign to every listed service account.
integer
required
Organization containing the service accounts and projects.
array
required
IDs of existing service accounts to add to the projects.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_ADD_UNIQUE_TO_PROFILE_LIST_PROPERTYTool to add unique values to list properties on user profiles in Mixpanel using the $union operation. Use when you need to add items to list-type properties without creating duplicates. Unlike $append, $union ensures values are unique in the list. If the property doesn’t exist, it creates a new list with the provided values.

Input Parameters

integer
Controls geolocation. Set to 0 to disable geolocation, 1 to enable. Default is 1.
array
required
A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates.
integer
Enables validation with per-record error messages. Set to 1 to enable strict mode, 0 to disable. When enabled, returns detailed validation errors for each failed record.
integer
Returns detailed response object. Set to 1 to get JSON response with status and error fields, 0 for plain text status (1 for success, 0 for failure). Default is 0.
string
JSONP callback function name. Used for JSONP requests.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_AGGREGATED_EVENT_PROPERTY_VALUESGet 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.

Input Parameters

string
required
The name of the property you would like to get data for
string ("general" | "unique" | "average")
required
The analysis type you would like to get data for
string ("minute" | "hour" | "day" | "week" | "month")
required
The level of granularity of the data
string
required
The event that you wish to get data for. Note: this is a single event name, not an array
integer
The maximum number of values to return
string ("json" | "csv")
Data format options for Mixpanel responses.
array
The specific property values that you would like to get data for. Example: [‘female’, ‘unknown’]
string
The date in yyyy-mm-dd format to query to (inclusive)
integer
The number of units to return data for. Specify either interval or from_date and to_date
string
The date in yyyy-mm-dd format to begin querying from (inclusive)
integer
required
Required if using service account to authenticate request
integer
The id of the workspace if applicable

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_AGGREGATE_EVENT_COUNTSDEPRECATED: Use MIXPANEL_AGGREGATE_EVENTS instead. Tool to get unique, total, or average data for events over N days, weeks, or months. Use when analyzing event trends and patterns over time with different aggregation methods.

Input Parameters

string ("general" | "unique" | "average")
required
Analysis type - determines the aggregation method for event data Valid values: ‘general’, ‘unique’, ‘average’, ‘sum’. Any other value fails validation.
string ("minute" | "hour" | "day" | "week" | "month")
required
Time granularity for data aggregation - determines how data points are grouped
string
required
The event or events to get data for, encoded as a JSON array string (e.g., ’[“Event1”, “Event2”]’)
string ("json" | "csv")
Data format options for Mixpanel responses.
string
End date in format YYYY-MM-DD (inclusive) - filters events up to and including this date
integer
Number of time units to return data for - limits the number of data points returned
string
Start date in format YYYY-MM-DD (inclusive) - filters events from this date onwards Strongly recommended; omitting both from_date and to_date may cause missing parameter errors.
integer
required
Project identifier for authentication and project selection
integer
Workspace identifier if applicable - used for workspace-level queries

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_AGGREGATE_EVENTSGet aggregate event counts over time. Supports different types of aggregation: general, unique, average, sum.

Input Parameters

string ("general" | "unique" | "average" | "sum")
Type of aggregation
string ("minute" | "hour" | "day" | "week" | "month")
Time unit for grouping results
string
Name of the event to analyze At least one of event or events must be provided per request; omitting both returns a ‘Missing required parameter: event’ error.
integer
Maximum number of results to return
string
Expression to filter events
array
List of event names to analyze
string
required
End date for the query (inclusive)
integer
Time interval for the results in seconds
string
required
Start date for the query (inclusive)
integer
required
The ID of the project to query
integer
The ID of the workspace if applicable

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_ARCHIVE_EXPERIMENTArchive an experiment in a Mixpanel workspace. Requires a service account with access to the workspace. Returns the provider’s result, which may be an empty object on success. The optional empty request body is omitted.

Input Parameters

integer
required
Workspace containing the experiment to archive.
string
required
ID of the experiment to archive.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_CANCEL_DATA_DELETIONCancel a GDPR or CCPA data deletion task that is still in progress. Uses the task’s tracking ID, project token, and the connected account’s regional application API. A successful cancellation normally returns no content. Requires the provider’s documented OAuth bearer authentication for GDPR endpoints.

Input Parameters

string
required
Project token for the deletion job.
string
required
Task ID returned when the data deletion job was created.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_COHORTS_LISTTool to list all saved cohorts in a Mixpanel project. Use when you need to retrieve cohort metadata 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.

Input Parameters

integer
required
The ID of the project to query. Required for listing cohorts.
integer
The ID of the workspace if applicable.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_CREATE_ANNOTATIONCreate an annotation marking a point in time on a Mixpanel project’s charts. Optionally supply its date, description, and existing tag IDs. Requires a role of at least Analyst. Returns the annotation and its creator and tag details.

Input Parameters

string
Annotation date in “YYYY-MM-DD HH:mm:ss” format.
array
IDs of existing tags to add to the annotation.
integer
required
Project ID in which to create the annotation.
string
Text shown when looking at the annotation.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_CREATE_ANNOTATION_TAGTool to create a new annotation tag in Mixpanel using the provided name. Use when you need to create tags for organizing and categorizing annotations. Requires a role of at least Analyst.

Input Parameters

string
required
The name of the annotation tag to create
string
required
The project identifier where the annotation tag will be created

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_CREATE_DATA_DELETIONCreate a GDPR or CCPA deletion task for users in a Mixpanel project. Supply the project token and distinct IDs; optionally choose the compliance regime. Schedules deletion of user data and returns a task ID for checking status, rather than waiting for the deletion to complete. The provider documents OAuth bearer authentication for this API, not BASIC service-account authentication.

Input Parameters

string
required
Project token sent as the token query parameter.
array
Distinct IDs of users whose data should be deleted.
string ("CCPA" | "GDPR")
Compliance regime: CCPA or GDPR. Defaults to GDPR at the provider.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_CREATE_DATA_RETRIEVALCreate a GDPR or CCPA data retrieval job for users in a Mixpanel project. Supply the project token and distinct IDs; optionally choose the compliance regime and CCPA disclosure type. Returns the task ID for checking job status, not the exported user data itself. The provider documents OAuth bearer authentication for GDPR endpoints; BASIC service-account authentication is not documented for this API.

Input Parameters

string
required
Project token sent as the token query parameter.
array
Distinct IDs of users whose data should be retrieved.
string ("CCPA" | "GDPR")
Compliance regime: CCPA or GDPR. Defaults to GDPR at the provider.
string ("Data" | "Categories" | "Sources")
CCPA disclosure type: Data, Categories, or Sources. Only needed for CCPA; defaults to Data at the provider.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_CREATE_EVENT_STREAM_IMPORTCreate a warehouse event-stream import that syncs table rows as Mixpanel events. Requires an existing warehouse source and a static event name or event-name column. For B2B projects provide company_column_name. Creation may initiate data ingestion.

Input Parameters

integer ("0" | "3600000000000" | "86400000000000" | "604800000000000")
Sync interval in nanoseconds: 0 (API only), 3600000000000 (hourly), 86400000000000 (daily), or 604800000000000 (weekly).
string ("time_based" | "mirror_mode" | "full_sync" | "one_time")
required
Incremental time_based, mirror_mode, full_sync, or one_time sync.
string
Static event name; provide this or event_column_name.
string
required
Mixpanel project ID.
string
required
Import type; must be event_stream.
object
required
Warehouse-specific table location object. Supports BigQuery, Snowflake, Redshift, Databricks, and PostgreSQL; keys depend on the source warehouse.
string
required
Column containing the event timestamp.
string
Column containing the user identifier.
object
Databricks-specific export cluster settings, or null.
string
Column containing event names; provide this or event_name.
object
Property mapping string pairs, or null. Use insert_id_column_name rather than mapping $insert_id.
string
Device identifier column, or null.
string
Company identifier column; required for B2B projects.
integer
required
ID of the existing warehouse source.
string
STRING column with unique event IDs for deduplication. Defaults to a row hash; mirror mode uses its row identifier by default.
string
Insert timestamp column for incremental sync, or null.
string
JSON event properties column, or null.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_CREATE_EXPERIMENTCreate an experiment in a Mixpanel workspace with a name and optional hypothesis, settings, variants, metrics, and visibility. Returns the created experiment. Requires a service account with access to the workspace.

Input Parameters

string
required
Experiment name (1–255 characters).
array
Experiment metrics. The API does not define an item schema.
object
Experiment settings, including feature flag settings. The API defines no fixed settings schema.
array
Experiment variants. The API does not define an item schema.
string
Hypothesis being tested by the experiment.
string
Experiment description (up to 400 characters).
integer
required
Workspace in which to create the experiment.
string
Global access type for the experiment; the API does not enumerate values.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_CREATE_FEATURE_FLAGCreate a feature flag with variants and rollout rules in a project workspace. Uses Mixpanel’s regional application API and service-account authentication. Returns the complete provider response for the created flag.

Input Parameters

object
required
Feature flag creation payload.
integer
required
Project ID in the URL path.
integer
required
Workspace ID in the URL path.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_CREATE_GROUPS_IMPORTCreate a warehouse import that syncs group properties to Mixpanel group profiles. Requires an existing warehouse source, group key, and group identifier column. Creation may initiate data ingestion.

Input Parameters

string
required
Mixpanel group key to sync.
integer ("0" | "3600000000000" | "86400000000000" | "604800000000000")
Sync interval in nanoseconds: 0 (API only), 3600000000000 (hourly), 86400000000000 (daily), or 604800000000000 (weekly).
string ("time_based" | "mirror_mode" | "full_sync" | "one_time")
required
Incremental time_based, mirror_mode, full_sync, or one_time sync.
string
required
Mixpanel project ID.
string
required
Import type; must be groups.
object
required
Warehouse-specific table location object.
string
required
Warehouse column containing the group identifier.
object
Databricks-specific export cluster settings, or null.
object
Property mapping string pairs, or null.
integer
required
ID of the existing warehouse source.
string
Insert timestamp column for incremental sync, or null.
string
JSON group properties column, or null.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_CREATE_IDENTITYSend a Mixpanel identity mapping event linking an anonymous ID with an identified user ID, typically after authentication, to connect anonymous activity with the identified user. This action is not suitable for India-residency projects.

Input Parameters

string
required
Project authentication token for client-side authentication.
integer ("0" | "1")
Validation mode for the request.
string
required
The anonymous ID (UUID v4 format) to be linked with the identified user ID. This is typically the ID used before the user authenticated.
string
Optional distinct ID. If provided, this will be used as the post-ID for the identity.
string
required
The identified user ID to link with the anonymous ID. This is typically the user’s ID after they sign up or log in.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_CREATE_LOOKUP_TABLE_IMPORTCreate a warehouse lookup-table import to enrich event or user properties. Requires an existing warehouse source, a Mixpanel join property, and its matching warehouse key column. Creation may initiate data ingestion.

Input Parameters

integer ("0" | "3600000000000" | "86400000000000" | "604800000000000")
Sync interval in nanoseconds: 0 (API only), 3600000000000 (hourly), 86400000000000 (daily), or 604800000000000 (weekly).
string ("full_sync" | "one_time")
required
Re-sync all data on each run, or sync once.
string
required
Mixpanel project ID.
string
required
Import type; must be lookup_table.
object
required
Warehouse-specific table location object; keys depend on the source warehouse (BigQuery, Snowflake, Redshift, Databricks, or PostgreSQL).
object
Databricks-specific export cluster settings, or null.
object
required
Mixpanel property whose values match the warehouse join key.
integer
required
ID of the existing warehouse source.
string
required
Warehouse column containing join key values to match against mixpanel_property.value.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_CREATE_PEOPLE_IMPORTCreate a warehouse import that syncs table rows to Mixpanel user profiles. Requires an existing warehouse source and a user identifier column. Each row represents a user. Creation may initiate data ingestion.

Input Parameters

integer ("0" | "3600000000000" | "86400000000000" | "604800000000000")
Sync interval in nanoseconds: 0 (API only), 3600000000000 (hourly), 86400000000000 (daily), or 604800000000000 (weekly).
string ("time_based" | "mirror_mode" | "full_sync" | "one_time")
required
time_based, mirror_mode, full_sync, or one_time sync.
string
required
Mixpanel project ID.
string
required
Import type; must be people.
object
required
Warehouse-specific table location object.
string
required
Column containing the user identifier; each row is a user.
object
Databricks-specific export cluster settings, or null.
object
Property mapping string pairs, or null.
integer
required
ID of the existing warehouse source.
string
Insert timestamp column for incremental sync, or null.
string
JSON user properties column, or null.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_CREATE_SERVICE_ACCOUNTTool to create a new service account for your organization and optionally add it to projects. Use when you need to generate API credentials for programmatic access. The response includes a token (secret) that cannot be recovered after creation. Requires service account with admin or owner role.

Input Parameters

string ("owner" | "admin" | "analyst" | "consumer")
The organization-level role for the service account. If not specified, service account will have no organization-level role.
string
ISO 8601 date-time format string indicating when the service account should expire. If not specified, the service account will have no expiration.
array
List of projects to add the service account to with specified roles. If not specified, the service account will not be added to any projects.
string
required
A descriptive name for the service account
string
required
The unique identifier for the organization

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_DECIDE_EXPERIMENTRecord whether a Mixpanel workspace experiment succeeded, with an optional variant and decision message. Returns the decided experiment. Requires a service account with workspace access.

Input Parameters

string
Message accompanying the experiment decision. Omitted or null messages are sent as an empty string, which the live API requires.
boolean
required
Whether the experiment was successful.
string
Experiment variant associated with the decision.
integer
required
Workspace containing the experiment.
string
required
ID of the experiment to decide.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_DELETE_ALL_SCHEMASDelete all event and profile Lexicon schemas in a Mixpanel project. Removes the project’s entire data dictionary. Requires a service account with access to the project. No optional filters are documented.

Input Parameters

integer
required
Mixpanel project ID whose entire Lexicon to delete.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_DELETE_ANNOTATIONDelete an annotation by project and numeric annotation ID. Requires a service account with access to the project and a role of at least Analyst. Returns the deleted annotation’s ID.

Input Parameters

integer
required
Project containing the annotation.
string
required
Numeric ID of the annotation to delete.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_DELETE_ENTITY_SCHEMASDelete Lexicon schemas of one entity type in a Mixpanel project. Deletes all event or profile schemas unless entity_name restricts the deletion to a named entity. Removes data dictionary schemas, not ingested events or user profiles. Requires a service account with project access.

Input Parameters

integer
required
Mixpanel project ID whose schemas to delete.
string
Optional entity name, such as Added To Cart, to restrict deletion. When omitted, deletes all schemas of the selected entity type.
string ("event" | "profile")
required
Entity type whose schemas to delete: event or profile.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_DELETE_EXPERIMENTDelete an experiment from a Mixpanel workspace. Requires a service account with access to the workspace. Returns the provider’s deletion result, which may be an empty object on success.

Input Parameters

integer
required
Workspace containing the experiment to delete.
string
required
ID of the experiment to delete.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_DELETE_FEATURE_FLAGDelete one feature flag by ID in a project workspace. Uses Mixpanel’s regional application API and service-account authentication. Returns the complete provider deletion result, which may be an empty object.

Input Parameters

string
required
Feature flag ID in the URL path.
integer
required
Project ID in the URL path.
integer
required
Workspace ID in the URL path.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_DELETE_GROUPTool to permanently delete a group profile from Mixpanel Group Analytics. Use when you need to completely remove a group profile and all of its properties. The deletion is permanent and cannot be undone. Note that group properties on historical events remain intact even after group deletion.

Input Parameters

integer
Unix timestamp in milliseconds for when the deletion should be recorded. If not provided, current time is used.
string
required
Your Mixpanel project token for authentication.
string
required
The unique identifier for the specific group to permanently delete. This is the only parameter that determines which group profile is deleted.
string
required
The group category/type identifier (e.g., ‘company’, ‘organization’, ‘team’). This identifies the type of group being deleted.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_DELETE_PROFILETool to permanently delete a user profile from Mixpanel, along with all of its properties. Use when you need to completely remove a profile. The deletion is permanent and cannot be undone. Note that this only deletes the profile, not the associated events. For duplicate profiles, use $ignore_alias: true to avoid deleting the original profile.

Input Parameters

string
IP address for request attribution. Set to ‘0’ to not update geolocation data.
string
required
Project authentication token for API authentication.
string
required
Unique identifier for the user profile to permanently delete. This is the only parameter that determines which profile is deleted.
boolean
If true, Mixpanel will not automatically update the ‘Last Seen’ property before deletion.
boolean
If true, prevents deletion of the original profile when deleting duplicates using an alias as distinct_id. Important for avoiding unintended deletions of merged profiles.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_DELETE_PROFILE_BATCHTool to permanently delete multiple user profiles from Mixpanel in a single batch request. Use when you need to delete multiple profiles efficiently. The deletion is permanent and cannot be undone. This only deletes the profiles, not the associated events. For duplicate profiles, use $ignore_alias: true to avoid deleting the original profile.

Input Parameters

array
required
List of profile delete operations to execute. Each profile must include $token, $distinct_id, and $delete. Maximum 50 deletions per request recommended.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_DELETE_PROFILE_PROPERTYTool to permanently delete properties from a Mixpanel user profile using the $unset operation. Use when you need to remove specific properties and their values from a profile. Properties are permanently removed and cannot be recovered. Useful when cleaning up properties or approaching Mixpanel’s limit of 2000 properties per profile.

Input Parameters

string
IP address for request attribution. Set to ‘0’ to not update geolocation data.
integer
Unix timestamp for when the operation occurred.
string
required
Project authentication token for API authentication.
array
required
List of property names to permanently remove from the profile. Properties are permanently deleted and cannot be recovered.
string
required
Unique identifier for the user profile to update.
boolean
If true, Mixpanel will not automatically update the ‘Last Seen’ property.
boolean
If true, ignores alias processing and uses the distinct_id directly.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_DELETE_SCHEMADelete the Lexicon schema for one entity type and exact entity name. Removes a data dictionary schema, not ingested events or user profiles. Requires a service account with access to the project.

Input Parameters

string
required
Exact entity name whose schema to delete, such as Added To Cart.
integer
required
Mixpanel project ID containing the schema.
string ("event" | "profile")
required
Entity type of the schema: event or profile.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_DELETE_SERVICE_ACCOUNTDelete a service account from an organization and remove it from all associated projects. Requires a service account with organization admin or owner access. This permanently revokes the deleted account’s access.

Input Parameters

integer
required
Organization containing the service account.
integer
required
ID of the existing service account to delete.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_DELETE_WAREHOUSE_IMPORTDelete a warehouse import from a Mixpanel project. Requires a service account with project access. By default imported data is retained; delete_data=true also creates a request to delete imported events.

Input Parameters

integer
required
Warehouse import ID.
integer
required
Mixpanel project ID.
boolean
Also request deletion of imported events from Mixpanel. Defaults to false; omit to retain imported data.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_EVALUATE_FEATURE_FLAGSEvaluate all enabled feature flags for a user and return eligible variants. Uses the connection’s US, EU, or India region and existing authentication. Supply project_id for service-account authentication. Unlike listing flag definitions, this evaluates eligibility using the user’s runtime context.

Input Parameters

string
Your Mixpanel project token.
object
required
User and runtime context; serialized as JSON in the query.
string
Mixpanel project ID. Provide when using service account auth.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_EXPORT_RAW_EVENTSExport raw Mixpanel events for a date range with optional filters. Results are limited to 1,000 events by default, with a configurable maximum of 100,000; the response reports whether the export terminated early.

Input Parameters

array
Event names to export
integer
Maximum number of events to return (default 1000, up to 100000). When the limit is reached, terminated_early is true; narrow the date range or filters to fetch the rest.
string
Mixpanel expression used to filter events
string
required
Inclusive end date in YYYY-MM-DD format
string
required
Inclusive start date in YYYY-MM-DD format
integer
required
Mixpanel project ID required by service-account authentication
boolean
Return event timestamps with millisecond precision

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_FORCE_CONCLUDE_EXPERIMENTForce conclude an experiment in a Mixpanel workspace, optionally specifying its end date. Returns the updated experiment. Requires a service account with access to the workspace.

Input Parameters

string
Optional experiment end date. The API accepts a string without a documented format constraint; omitted when unset.
integer
required
Workspace containing the experiment to force conclude.
string
required
ID of the experiment to force conclude.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_GET_ALL_PROJECTSGet all projects associated with the authenticated Mixpanel account. Returns project details including name, permissions, role, domain, and other configuration details. If a project appears inaccessible, verify the connection region matches the project’s cluster before assuming a permissions issue.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_GET_ANNOTATIONRetrieve one annotation by project and numeric annotation ID, including its date, description, creator, and tags. Requires a service account with access to the project.

Input Parameters

integer
required
Project containing the annotation.
string
required
Numeric ID of the annotation to retrieve.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_GET_ANNOTATION_TAGS_ALT1Tool to get all annotation tags from a Mixpanel project. Use when you need to retrieve tags that have been added to annotations. Requires a role of at least Analyst.

Input Parameters

string
required
The unique identifier for the Mixpanel project

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_GET_DASHBOARDRetrieve one Mixpanel dashboard, including its contents and layout.

Input Parameters

integer
required
Mixpanel project ID that owns the dashboard.
integer
required
Numeric dashboard ID to retrieve.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_GET_DATA_DELETIONCheck a GDPR or CCPA data deletion job using its tracking ID and project token. Returns the job status, requesting user, project, timestamp, and distinct IDs. Uses the connected account’s regional application API; does not create or cancel jobs. Requires the provider’s documented OAuth bearer authentication for GDPR endpoints.

Input Parameters

string
required
Project token for the deletion job.
string
required
Task ID returned when the data deletion job was created.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_GET_DATA_RETRIEVALCheck a GDPR or CCPA data retrieval job using its tracking ID and project token. Returns the job status, distinct IDs, and export URL when available. Does not download the export. Uses the connected account’s regional application API. Requires the provider’s documented OAuth bearer authentication for GDPR endpoints.

Input Parameters

string
required
Project token for the retrieval job.
string
required
Task ID returned when the data retrieval job was created.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_GET_EXPERIMENTRetrieve one experiment by workspace and experiment ID, including its settings, variants, metrics, cached results, and linked feature flag when available. Requires a service account with access to the workspace.

Input Parameters

integer
required
Workspace containing the experiment.
string
required
ID of the experiment to retrieve.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_GET_FEATURE_FLAGGet one feature flag by ID in a project workspace. Uses Mixpanel’s regional application API and service-account authentication. Returns the complete flag, including rules, nullable metadata and future fields.

Input Parameters

string
required
Feature flag ID in the URL path.
integer
required
Project ID in the URL path.
integer
required
Workspace ID in the URL path.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_GET_FLAG_DEFINITIONSRetrieve all enabled feature flag definitions for the authenticated project. Returns complete metadata, variants, rulesets, and rollout configurations. Uses the US, EU, or India Feature Flags API for the connection’s region. Supply project_id for service-account authentication; token is optional.

Input Parameters

string
Optional Mixpanel project token.
string
Mixpanel project ID. Provide when using service-account authentication.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_GET_IMPORT_HISTORYGet the 30 most recent execution events for a warehouse import. Requires the project ID, import ID, and a service account with project access. Returns run statuses, timing, and imported event counts. No query filters or pagination options are documented.

Input Parameters

integer
required
Warehouse import ID.
integer
required
Mixpanel project ID.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_GET_SCHEMAGet the Lexicon schema for a specific event or profile name. Returns the entity’s JSON Schema directly, including property definitions and metadata. Requires a service account with access to the project. Use List Schemas to discover entity names. No optional filters or pagination are documented.

Input Parameters

string
required
Exact entity name, such as Added To Cart or $user.
integer
required
Mixpanel project ID containing the schema.
string ("event" | "profile")
required
Entity type whose schema to retrieve: event or profile.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_GET_SERVICE_ACCOUNTRetrieve a service account’s details by organization and service account ID, including its username, creation, last-use, and expiration times. Requires a service account with organization admin or owner access. Does not recover secrets.

Input Parameters

integer
required
Organization containing the service account.
integer
required
ID of the existing service account to retrieve.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_GET_WAREHOUSE_IMPORTGet a warehouse import’s full configuration, column mappings, and sync settings. Requires the project ID and the warehouse import ID. Does not modify the import.

Input Parameters

integer
required
Warehouse import ID.
integer
required
Mixpanel project ID.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_GROUP_BATCH_UPDATESend a batch of Mixpanel group profile updates in one request. Updates can set or set-once properties, add or remove list values, unset properties, or delete group profiles. This action is not suitable for India-residency projects.

Input Parameters

array
required
A list of group profile update objects. Each object contains the group identifiers and operations to perform.
string ("IP" | "Strict" | "Verbose")
Controls response format. IP: returns ‘1’ for valid data, Strict: returns error for any invalid records, Verbose: detailed response.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_GROUP_DELETE_PROPERTYTool to delete specific properties from a Mixpanel group profile. Use when you need to permanently remove unwanted properties from a group (company, organization, team, etc.). The operation uses the $unset operation to permanently remove the specified properties.

Input Parameters

string
required
Your Mixpanel project authentication token
string
required
The unique identifier for the specific group to update
string
required
The group category/type identifier (e.g., ‘company’, ‘organization’, ‘team’)
array
required
List of property names to delete/unset from the group profile

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_GROUP_SET_PROPERTYDEPRECATED: Use MIXPANEL_GROUP_BATCH_UPDATE instead. Tool to send batch group profile updates to Mixpanel. Use when you need to update properties for one or more groups (companies, organizations, teams, etc.). Supports multiple operations: $set (update/add), $set_once (set if not exists), $unset (delete), $remove (remove from list), $union (add to list uniquely).

Input Parameters

array
required
List of group profile updates to send. Each update must include $token, $group_key, $group_id, and at least one operation ($set, $set_once, $unset, $remove, or $union)

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_IDENTITY_CREATE_ALIASSend an alias mapping to link a new Mixpanel distinct ID with an existing one, such as during signup. This is for Original ID Merge or Legacy ID Management projects; each alias can map to only one distinct ID. This action is not suitable for India-residency projects.

Input Parameters

string
required
A new distinct_id value that will be interpreted as the existing distinct_id. Each alias can only map to one distinct_id. Typically set during user signup to connect anonymous pre-signup events with post-signup activity.
string
required
Project authentication token for client-side authentication.
string
required
The existing distinct ID to be merged with the alias. This is the original identifier that the alias will map to.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_IMPORT_EVENTSImport a batch of historical events into a Mixpanel project. A partial import can return the number imported alongside failed records.

Input Parameters

array
required
One to 2000 historical events to import. The uncompressed request body must be no larger than 10 MB.
boolean
Validate every event and return details for records that fail.
integer
required
Mixpanel project ID receiving the events.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_JQL_QUERYExecute 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.

Input Parameters

object
A JSON-encoded object that will be made available in the script as params. Use this to pass dynamic date ranges, event names, or other parameters into your JQL query.
string
required
A fully valid JavaScript code snippet for Mixpanel’s JQL engine. MUST define exactly one top-level function main() { ... } that returns the final dataset. DATA SOURCES: - Events({ from_date: ‘YYYY-MM-DD’, to_date: ‘YYYY-MM-DD’, event_selectors: [{ event: ‘Name’, selector: ’…’ }] }) - returns objects with name, distinct_id, time (ms epoch), properties. - People({ user_selectors: [{ selector: ’…’ }] }) - returns objects with distinct_id, time, last_seen, properties. - join(Events(…), People(), { type: ‘full’|‘left’|‘right’|‘inner’, selectors: […] }) - combines events and profiles on distinct_id; each item has { distinct_id, event, user }. TRANSFORMATIONS (chainable): - .filter(fn) - keep items where fn returns true - .map(fn) - transform each item - .reduce(reducerFn) - aggregate entire collection to one value - .groupBy(keys, reducer) - group by property paths or functions, returns [{ key, value }] - .groupByUser([keys], reducer) - group events per user in chronological order; reducer signature: (state, events) => newState - .sortAsc(accessor) / .sortDesc(accessor) - sort by property or function - .flatten() - flatten nested arrays BUILT-IN REDUCERS (use with .reduce() or .groupBy()): mixpanel.reducer.count(), .sum(accessor), .avg(accessor), .min(accessor), .max(accessor), .min_by(accessor), .max_by(accessor), .numeric_percentiles(accessor, [p1, p2, …]), .top(N), .any(), .null(), .object_merge() SEGMENTATION EXPRESSIONS (for event_selectors/user_selectors/join selectors): Operators: ==, !=, >, >=, <, <=, in, and, or, not. Typecasts: string(…), number(…), boolean(…). Example: properties[“app_name”] == “gmail” and user[“age”] > 30 PARAMS: Pass dynamic values via the params field. Accessible in script as the global params variable. EXAMPLE: js function main() { return Events({ from_date: '2025-01-01', to_date: '2025-01-31', event_selectors: [{ event: 'purchase' }] }) .filter(e => e.properties.country === 'CA') .groupBy(['properties.city'], mixpanel.reducer.count()); } The return value from main() can be an array of objects, a single number (from .reduce()), or a nested array (from .groupBy()).
integer
required
Required if using service account credentials or an API secret for authentication.
integer
The ID of the Mixpanel workspace, if applicable.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_LAUNCH_EXPERIMENTLaunch an experiment in a Mixpanel workspace. Returns the updated experiment. Requires a service account with access to the workspace.

Input Parameters

integer
required
Workspace containing the experiment to launch.
string
required
ID of the experiment to launch.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_LIST_ANNOTATIONSList annotations in a Mixpanel project, optionally filtering by inclusive start and end dates. Returns annotation text, dates, creators, and tags. Requires a service account with access to the project. No pagination is documented.

Input Parameters

string
Inclusive end date in yyyy-mm-dd format.
string
Inclusive start date in yyyy-mm-dd format.
integer
required
Mixpanel project whose annotations to list.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_LIST_COHORTSDEPRECATED: Use MIXPANEL_MIXPANEL_COHORTS_LIST instead. 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.

Input Parameters

integer
required
The ID of the project to query. Required if using service account authentication.
integer
The ID of the workspace if applicable

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_LIST_ENTITY_SCHEMASList Lexicon schemas for an event or profile entity type in a project. Optionally filter by entity_name. Returns entity names and their complete JSON Schemas. A named lookup is normalized to a single-item results list. Requires a service account with access to the project. No pagination is documented.

Input Parameters

integer
required
Mixpanel project ID whose schemas to list.
string
Optional entity name to filter by, such as Added To Cart.
string ("event" | "profile")
required
Entity type whose schemas to list: event or profile.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_LIST_EXPERIMENTSList experiments in a Mixpanel workspace, including their settings, variants, metrics, lifecycle status, and access information. Requires a service account with access to the workspace. This endpoint has no documented pagination.

Input Parameters

integer
required
Workspace whose experiments to list.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_LIST_FEATURE_FLAGSList feature flags in a project workspace, optionally including archived flags. Uses Mixpanel’s regional application API and service-account authentication. Returns the complete provider response with flag definitions and metadata.

Input Parameters

integer
required
Project ID in the URL path.
integer
required
Workspace ID in the URL path.
string ("true" | "false")
Include archived (soft-deleted) flags. Defaults to false when omitted.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_LIST_FUNNELSGet 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.

Input Parameters

integer
required
Required if using service account to authenticate request
integer
The id of the workspace if applicable

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_LIST_LOOKUP_TABLESList lookup tables defined in a Mixpanel project. Uses service-account authentication and the project’s regional ingestion API. Returns lookup table IDs and names; an empty project may return null results.

Input Parameters

string
required
Mixpanel project_id used to authenticate service account credentials.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_LIST_PROJECT_SERVICE_ACCOUNTSList service accounts that are members of a project, including their roles, membership grant types, sensitive-data access, and last-use/expiration times. Requires service account authentication with access to the specified project. An account may appear multiple times when it has multiple membership grants.

Input Parameters

integer
required
ID of the project whose service account members to list.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_LIST_SAVED_COHORTSDEPRECATED: Use MIXPANEL_MIXPANEL_COHORTS_LIST instead. Tool to list all saved cohorts in a Mixpanel project. Use when you need to retrieve cohort metadata including name, id, count, description, creation date, and visibility for every cohort in the project.

Input Parameters

integer
required
The ID of the project to query. Required for listing cohorts.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_LIST_SCHEMASList all Lexicon schemas in a Mixpanel project. Returns event and profile entity names and their complete JSON Schemas. Requires a service account with access to the project. No pagination or optional filters are documented.

Input Parameters

integer
required
Mixpanel project ID whose schemas to list.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_LIST_SERVICE_ACCOUNTSTool to list all service accounts for an organization. Use when you need to retrieve service accounts, check when they were last used, or see when they expire. Requires service account with admin or owner role.

Input Parameters

string
required
The unique identifier for the organization

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_LIST_WAREHOUSE_IMPORTSList all warehouse imports configured for a Mixpanel project, including configuration, sync status, and scheduling metadata. Requires a service account with access to the project. No filters or pagination are documented.

Input Parameters

integer
required
Mixpanel project whose warehouse imports to list.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_PROFILE_APPEND_TO_LIST_PROPERTYTool to append values to list properties on user profiles in Mixpanel. Use when you need to add items to list-type properties. Unlike $union, $append allows duplicate values. If the property doesn’t exist, it creates a new list with the value as the first element.

Input Parameters

array
required
A list of profile update objects. Each object must contain $token, $distinct_id, and $append properties.
integer
When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_PROFILE_BATCH_UPDATETool to update multiple user profiles in Mixpanel in a single batch request. Use when you need to update properties for multiple users efficiently. Supports operations: $set (update/add), $set_once (set if not exists), $add (increment), $union (add to list uniquely), $append (append to list), $remove (remove from list), $unset (delete property), $delete (delete profile). Maximum 50 updates per request. Always check the response status and failed_records for individual update failures.

Input Parameters

array
required
List of profile updates to send. Maximum 50 updates per request. Each profile must include $token and either $distinct_id or $user_id, plus at least one operation ($set, $set_once, $add, $union, $append, $remove, $unset, or $delete).

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_PROFILE_DELETE_PROPERTYDEPRECATED: Use MIXPANEL_DELETE_PROFILE_PROPERTY instead. Tool to permanently delete properties from a user profile in Mixpanel. Use when you need to remove specific properties and their values from a profile. This operation uses $unset and permanently removes properties that cannot be recovered. Useful when cleaning up properties or approaching Mixpanel’s limit of 2000 properties per profile.

Input Parameters

string
IP address for request attribution. Set to ‘0’ to not update geolocation data.
integer
Unix timestamp for when the operation occurred.
string
required
Project authentication token for API authentication.
array
required
JSON list of property names to permanently remove from the profile. Properties are permanently deleted and cannot be recovered.
string
required
Unique identifier for the user profile to update.
boolean
If true, Mixpanel will not automatically update the ‘Last Seen’ property.
boolean
If true, ignores alias processing and uses the distinct_id directly.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_PROFILE_EVENT_ACTIVITYGet 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.

Input Parameters

string
required
End date for the query (inclusive, format: YYYY-MM-DD)
string
required
Start date for the query (inclusive, format: YYYY-MM-DD)
integer
required
The ID of the project to query. Required if using service account authentication.
array
required
List of distinct_ids to return activity feeds for
integer
The ID of the workspace if applicable

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_PROFILE_NUMERICAL_ADDTool to increment or decrement numerical properties on user profiles in Mixpanel. Use when you need to add values to existing numerical properties (e.g., login counts, points, credits). Properties are incremented by the specified amount. If a property doesn’t exist, the value is added to zero. Use negative values to decrement properties.

Input Parameters

string
IP address for geolocation. Set to 0 or ‘0’ to avoid updating location data. Defaults to the request IP address if not provided.
object
required
A JSON object containing property names as keys and numerical increment values. Properties will be incremented by the specified amount. If a property doesn’t exist, the value is added to zero. Use negative values to decrement.
integer
Unix timestamp to override the time of the update. If not provided, uses current server time.
string
required
Your Mixpanel project authentication token
integer
When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).
string
required
The unique identifier for the user profile
boolean
If true, prevents updating the ‘Last Seen’ property. Defaults to false.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_PROFILE_REMOVE_FROM_LIST_PROPERTYTool to remove values from list properties on user profiles in Mixpanel. Use when you need to remove specific items from list-type properties. If the value doesn’t exist in the list, no updates are made. If the property doesn’t exist or is not list-valued, the operation is ignored.

Input Parameters

array
required
A list of profile update objects. Each object must contain $token, $distinct_id, and $remove properties.
integer
When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_PROFILE_SETTool to set user profile properties in Mixpanel using the $set operation. Use when you need to create or update properties on a user profile. Properties specified will be created if they don’t exist, or overwritten if they do. If the profile doesn’t exist, it will be created with these properties.

Input Parameters

string
IP address for geolocation enrichment. Set to ‘0’ to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.
integer
Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.
string
required
Your Mixpanel project authentication token. Required for authenticating the request.
string
required
The unique identifier for the user profile to update. This determines which profile will be modified.
boolean
If true, prevents Mixpanel from automatically updating the ‘Last Seen’ property. Defaults to false.
object
required
A dictionary of properties to set on the user profile. These properties will be created if they don’t exist, or overwritten if they do. Common properties include ‘name’, ‘email’, ‘status’, etc.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_QUERY_FREQUENCY_REPORTQuery how frequently users perform events over a specified period, returning date-keyed frequency arrays under data. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.

Input Parameters

string
The property expression to segment the second event on
string ("day" | "week" | "month")
required
The overall time period to return frequency of actions for
string
The event to generate returning counts for
integer
Return the top limit segmentation values
string
An expression to filter the returning events by
string
required
The date in yyyy-mm-dd format to query to (inclusive)
string
required
The date in yyyy-mm-dd format to begin querying from (inclusive)
integer
required
Required if using service account to authenticate request
integer
The id of the workspace if applicable
string ("hour" | "day")
required
The granularity to return frequency of actions at

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_QUERY_FUNNELGet data for a funnel. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.

Input Parameters

string
The property expression to segment the event on
string ("day" | "week" | "month")
Medium range time units for Mixpanel operations.
integer
Return the top property values. Maximum value 10,000
string
An expression to filter events by
integer
The number of units each user has to complete the funnel. May not be greater than 90 days
string
required
The date in yyyy-mm-dd format to query to (inclusive)
integer
The number of days you want each bucket to contain
string
required
The date in yyyy-mm-dd format to begin querying from (inclusive)
integer
required
The funnel that you wish to get data for
integer
required
Required if using service account to authenticate request
string ("second" | "minute" | "hour" | "day")
Extended time units including seconds for funnel analysis.
integer
The id of the workspace if applicable

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_QUERY_INSIGHTGet data from your Insights reports. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.

Input Parameters

integer
required
Required if using service account to authenticate request Must match the configured connection region/cluster; a mismatch returns ‘invalid project id for cluster’.
integer
required
The ID of your Insights report
integer
The id of the workspace if applicable

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_QUERY_MONTHS_TOP_EVENT_NAMESDEPRECATED: Use MIXPANEL_TOP_EVENTS instead. Get a list of the most common event names over the last 31 days. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Use when you need to discover what events are being tracked most frequently in your project.

Input Parameters

string ("general" | "unique" | "average")
required
The analysis type for the query - general, unique, or average
integer
Maximum number of event names to return. Default is 255
integer
required
The project identifier. Required if using service account to authenticate request
integer
The workspace identifier. Required only for projects with Data Views enabled

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_QUERY_NUMERIC_AVERAGEAverages an expression for events per unit time. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Example response: { “status”: “ok”, “results”: { “2024-01-01”: 25.5, “2024-01-02”: 32.75, “2024-01-03”: 28.25 } }

Input Parameters

string
required
The numeric expression to average per unit time (should evaluate to a number)
string ("hour" | "day")
Shorter time units for certain Mixpanel operations.
string
required
The event to get data for (single event name)
string
An expression to filter events by
string
required
The date in yyyy-mm-dd format to query to (inclusive)
string
required
The date in yyyy-mm-dd format to begin querying from (inclusive)
integer
required
Required if using service account to authenticate request
integer
The id of the workspace if applicable

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_QUERY_NUMERIC_SUMSums an expression for events per unit time. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Example response: { “status”: “ok”, “computed_at”: “2024-01-20T12:00:00”, “results”: { “2024-01-01”: 150.5, “2024-01-02”: 245.75, “2024-01-03”: 198.25 } }

Input Parameters

string
required
The numeric expression to sum per unit time (should evaluate to a number)
string ("hour" | "day")
Shorter time units for certain Mixpanel operations.
string
required
The event to get data for (single event name)
string
An expression to filter events by
string
required
The date in yyyy-mm-dd format to query to (inclusive)
string
required
The date in yyyy-mm-dd format to begin querying from (inclusive)
integer
required
Required if using service account to authenticate request
integer
The id of the workspace if applicable

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_QUERY_ORGANIZATION_AUDIT_LOGSQuery one page of organization audit logs with optional actor, time, project and event filters. Requires service account authentication and view_audit_logs permission (Owner or Admin). Pass a returned pagination cursor to retrieve another page.

Input Parameters

object
Optional audit log filters. An empty body queries all organization logs.
string ("asc" | "desc")
Oldest first (asc) or newest first (desc).
string
Previous or next cursor returned by a prior query.
integer
Items per page, from 1 to 100.
string
required
Organization’s unique identifier.
string
Optional Mixpanel-Version date pin, e.g. 2026-08-13. Omit to use the latest API version.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_QUERY_PROFILESQuery 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.

Input Parameters

integer
Which page of results to retrieve (starts at 0)
string
An expression to filter users (or groups) by
integer
Required when using event selector for user profiles
integer
required
The ID of the project to query. Required if using service account authentication.
string
Session ID from a previous query for pagination
string
A unique identifier used to distinguish an individual profile
array
A list of distinct_ids to retrieve profiles for
integer
The ID of the workspace if applicable
string
The ID of the group key, used when querying group profiles
integer
Used with behaviors parameter for large exports
object
Filter by cohort ID. Example: {‘id’: 12345}
boolean
When using filter_by_cohort, whether to include all distinct_ids even without profiles
array
List of property names to return in the response

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_QUERY_RETENTION_REPORTQuery cohort analysis showing user retention patterns over time. Tracks how users who performed an initial event (born_event) subsequently perform a target event (event). Use the ‘unit’ parameter to control cohort interval granularity (‘day’, ‘week’, ‘month’); defaults to ‘day’.

Input Parameters

string
Property expression for segmentation (segments results by specified property)
string ("day" | "week" | "month")
Medium range time units for Mixpanel operations.
string
The target event to measure retention against
integer
Maximum number of top segmentation values to return (only valid with ‘on’ parameter)
string
Filter expression for event (see Mixpanel expressions documentation)
string
required
End date for the query range in YYYY-MM-DD format (inclusive)
string
required
Start date for the query range in YYYY-MM-DD format (inclusive)
string
The initial event that defines the cohort entry (required when retention_type=‘birth’)
string
Filter expression for born_event (see Mixpanel expressions documentation)
integer
required
Project identifier (required when using service account authentication)
integer
Workspace identifier if applicable
integer
Number of individual buckets/intervals to return
string ("birth" | "compounded")
Type of retention analysis: ‘birth’ for first-time retention or ‘compounded’ for recurring retention
boolean
When true, uses accumulation method where values accumulate from right to left

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_QUERY_SEGMENTATIONGet data for an event, segmented and filtered by properties with daily/time-series breakdown. Use the ‘unit’ parameter to control time bucketing (‘minute’, ‘hour’, ‘day’, ‘month’). The Query API has a rate limit of 60 queries per hour and 5 concurrent queries, shared across related tools (e.g., MIXPANEL_JQL_QUERY, MIXPANEL_TOP_EVENT_PROPERTY_VALUES); bursts of concurrent calls return 429.

Input Parameters

string
The property expression to segment the event on Properties unset for many events produce ‘undefined’ segment buckets; interpret as missing instrumentation, not zero traffic.
string ("general" | "unique" | "average")
Analysis types for Mixpanel event aggregation.
string ("minute" | "hour" | "day" | "month")
Time units for segmentation queries.
string
required
The event to get data for (single event name)
integer
Return the top N property values (max 10000)
string
An expression to filter events by
string
required
The date in yyyy-mm-dd format to query to (inclusive)
string
required
The date in yyyy-mm-dd format to begin querying from (inclusive) Use project timezone to avoid off-by-one-day range errors; reversed or overly narrow ranges yield empty results.
integer
required
Required if using service account to authenticate request Region mismatch between the Mixpanel connection and the project’s cluster returns ‘invalid project id for cluster’; verify region before querying.
integer
The id of the workspace if applicable

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_QUERY_TOP_EVENTSGet the top events for today, with their counts and the normalized percent change from yesterday. Use when you need to analyze today’s event performance compared to yesterday.

Input Parameters

string ("general" | "unique" | "average")
required
The analysis type - general, unique, or average
integer
Maximum number of events to return
integer
required
The project identifier. Required if using service account to authenticate request
integer
The workspace identifier if applicable

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_REMOVE_FROM_GROUP_LIST_PROPERTYTool to remove values from list properties on group profiles in Mixpanel. Use when you need to remove specific items from list-type properties on groups (companies, organizations, etc.). If the value doesn’t exist in the list, no updates are made. If the property doesn’t exist or is not list-valued, the operation is ignored.

Input Parameters

array
required
A list of group profile update objects. Each object must contain $token, $group_key, $group_id, and $remove properties.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_REMOVE_FROM_LIST_PROPERTYTool to remove values from list properties on user profiles in Mixpanel using the $remove operation. Use when you need to remove specific items from list-type properties. If the value doesn’t exist in the list, no action is taken. The profile will be created if it doesn’t exist.

Input Parameters

string
IP address for geolocation enrichment. Set to ‘0’ to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.
integer
Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.
string
required
Your Mixpanel project authentication token. Required for authenticating the request.
string
required
The unique identifier for the user profile to update. This determines which profile will be modified.
boolean
If true, prevents Mixpanel from automatically updating the ‘Last Seen’ property. Defaults to false.
object
required
A dictionary of list properties and values to remove. Each key is a property name and each value is the item to remove from that list property. If the value doesn’t exist in the list, no action is taken.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_REMOVE_SERVICE_ACCOUNTS_FROM_PROJECTSRemove service accounts from the specified projects in an organization. Supply each project ID with its list of service account IDs to remove. This removes project membership without deleting the service accounts.

Input Parameters

array
required
Projects and the service accounts to remove from each.
integer
required
Organization containing the projects and service accounts.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_REPLACE_LOOKUP_TABLEReplace all records in an existing Mixpanel lookup table with inline CSV. This overwrites the table’s contents, rather than appending rows. Obtain its UUID from Lexicon or List Lookup Tables. Uses service-account or project-secret Basic authentication against the project’s regional ingestion host.

Input Parameters

string
required
UUID of the existing lookup table, available in Lexicon’s table details.
string
required
Complete replacement table as inline CSV text, including the header row and primary-key column. Sent verbatim as UTF-8 text/csv, not a file URL. Example: id,field1,field2 key1,v1,z1 key2,z1,z2
string
required
Mixpanel project_id used to authenticate service account credentials.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_RUN_INSIGHTS_QUERYRun an ad hoc Insights query with event, funnel, retention, cohort or formula metrics. Supports filters, breakdowns and comparisons without requiring a saved report. Requires Query API access on the project’s plan; HTTP 402 indicates a plan gate.

Input Parameters

object
required
Complete InsightsQueryRequest JSON body; omitted optional keys remain absent and explicit nulls are preserved.
integer
required
Project ID to query, in the connection’s region.
integer
Workspace ID, if applicable.
string
Mixpanel-Version release date and optional preview channel; defaults to documented Insights beta version.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_RUN_WAREHOUSE_IMPORTTrigger an immediate sync for an existing warehouse import. Returns the sync run identifier when supplied by Mixpanel. This starts the sync; it does not wait for ingestion to finish.

Input Parameters

string
Required JSON body. The provider documents no schema or options; defaults to an empty object.
integer
required
Warehouse import ID to sync now.
integer
required
Mixpanel project ID.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_SEGMENTATION_NUMERIC_QUERYTool to get event data numerically bucketed by property values. Use when you need to analyze distributions of numeric properties like revenue, session duration, or counts with automatic bucketing.

Input Parameters

string
required
The numeric property expression to bucket by. Use format like ‘number(property_name)’ or numeric expressions
string ("general" | "unique" | "average")
Analysis types for Mixpanel event aggregation.
string ("hour" | "day" | "week" | "month")
Longer time units for certain analytics.
string
required
The event name to get data for
string
An expression to filter events by (e.g., ‘properties[“country”] == “US”’)
string
required
The date in yyyy-mm-dd format to query to (inclusive)
string
required
The date in yyyy-mm-dd format to begin querying from (inclusive)
integer
required
Required if using service account to authenticate request
integer
Size of numeric buckets for grouping values. If not specified, Mixpanel will automatically determine bucket size
integer
The id of the workspace if applicable

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_SET_GROUP_PROPERTY_ONCETool to set properties on a Mixpanel group profile only if they don’t already exist. Use when you need to set initial properties for a group without overwriting existing values. Ideal for setting default values or tracking when a group was first created. Properties that already exist will not be modified.

Input Parameters

string
required
Project authentication token for Mixpanel API authentication
string
required
Unique identifier for the specific group instance
string
required
Group type identifier (e.g., ‘Company’, ‘Organization’, ‘Team’). This defines the category of the group.
object
required
Key-value pairs of properties to set on the group profile. Properties will only be set if they don’t already exist on the group.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_SET_PROFILE_PROPERTY_ONCETool to set user profile properties in Mixpanel using the $set_once operation. Use when you need to set properties that should only be recorded on their initial value. Properties specified will be created only if they don’t already exist on the profile. If a property already has a value, it will not be overwritten. Ideal for tracking first-time values like signup source, initial referrer, or first login date.

Input Parameters

string
IP address for geolocation enrichment. Set to ‘0’ to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.
integer
Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.
string
required
Your Mixpanel project authentication token. Required for authenticating the request.
string
required
The unique identifier for the user profile to update. This determines which profile will be modified.
boolean
If true, prevents Mixpanel from automatically updating the ‘Last Seen’ property. Defaults to false.
object
required
A dictionary of properties to set on the user profile only if they don’t already exist. If a property already has a value, it will not be overwritten. Useful for tracking initial values like ‘First Login’, ‘Signup Source’, ‘Initial Referrer’, etc.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_TODAYS_TOP_EVENTSDEPRECATED: Use MIXPANEL_QUERY_TOP_EVENTS instead. 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.

Input Parameters

string ("general" | "unique" | "average")
required
The analysis type you would like to get data for - such as general, unique, or average events
integer
The maximum number of events to return
integer
required
Required if using service account to authenticate request
integer
The id of the workspace if applicable

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_TOP_EVENT_PROPERTIESGet 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.

Input Parameters

string
required
The event that you wish to get data for. Note: this is a single event name, not an array
integer
The maximum number of properties to return
integer
required
Required if using service account to authenticate request
integer
The id of the workspace if applicable

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_TOP_EVENT_PROPERTY_VALUESTool to get the top values for a property ordered by frequency. Use when you need to understand the most common values for a specific property on an event. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. This limit is shared across all Query API tools (e.g., MIXPANEL_QUERY_SEGMENTATION); on a 429 response, apply exponential backoff.

Input Parameters

string
required
The name of the property you would like to get data for
string
required
The event that you wish to get data for. Note: this is a single event name, not an array
integer
The maximum number of values to return
integer
required
Required if using service account to authenticate request
integer
The id of the workspace if applicable

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_TOP_EVENTSGet 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.

Input Parameters

string ("general" | "unique" | "average")
required
The analysis type you would like to get data for - such as general, unique, or average events
integer
The maximum number of values to return
integer
required
Required if using service account to authenticate request
integer
The id of the workspace if applicable

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_UNARCHIVE_EXPERIMENTUnarchive an experiment in a Mixpanel workspace and return the updated experiment. Requires a service account with access to the workspace.

Input Parameters

integer
required
Workspace containing the experiment to unarchive.
string
required
ID of the experiment to unarchive.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_UPDATE_ANNOTATIONUpdate an existing Mixpanel annotation’s description and/or tag IDs. Requires a role of at least Analyst. Returns the annotation, including its date, creator, and tags. Omitted fields are not sent to the provider.

Input Parameters

array
IDs of existing tags to add to the annotation.
integer
required
Project containing the annotation.
string
Text shown when looking at the annotation.
string
required
Numeric ID of the annotation to retrieve.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_UPDATE_EXPERIMENTUpdate an existing Mixpanel workspace experiment’s fields, settings, variants, metrics, caches, dates, tags, or visibility. Only supplied fields are sent; explicit null values are preserved. Requires a service account with workspace access.

Input Parameters

string
New experiment name (1–255 characters).
array
Experiment tags.
string
Experiment status; the update API does not enumerate values.
array
Experiment metrics; the API does not define an item schema.
string
Experiment end date string.
object
Experiment settings; the API defines no fixed object schema.
array
Experiment variants; the API does not define an item schema.
string
Hypothesis being tested by the experiment.
string
Experiment start date string.
string
Experiment description (up to 400 characters).
integer
required
Workspace containing the experiment.
string
required
ID of the experiment to update.
object
Cached results; the API defines no fixed object schema.
object
Cached exposure counts; the API defines no fixed object schema.
string
Global access type; the API does not enumerate values.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_UPDATE_FEATURE_FLAGUpdate a feature flag with its complete configuration in a project workspace. Supply the required name, key, tags, context, serving method and ruleset; this PUT operation is not a partial patch. Uses Mixpanel’s regional application API and service-account authentication. Returns the complete provider response for the updated flag.

Input Parameters

object
required
Complete feature flag update payload, not a partial patch.
string
required
Feature flag ID in the URL path.
integer
required
Project ID in the URL path.
integer
required
Workspace ID in the URL path.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_UPDATE_GROUP_LIST_PROPERTYTool to add unique values to list properties on group profiles in Mixpanel. Use when you need to add items to list-type group properties without creating duplicates. The $union operation ensures that values are only added if they don’t already exist in the list.

Input Parameters

integer
Controls geolocation parsing. Set to 0 to disable, 1 to enable. If not provided, defaults to request IP.
array
required
A list of group union update objects. Each object must contain $token, $group_key, $group_id, and $union properties.
integer
Enables validation with error messages. Set to 1 to enable strict mode, 0 to disable.
integer
Returns detailed operation success/failure information. Set to 1 for detailed response, 0 for simple response.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_UPDATE_WAREHOUSE_IMPORTPause or resume an existing warehouse import and set its sync frequency. Optionally replace the complete Databricks cluster configuration. Resuming permits ingestion to continue; pausing stops the job and future syncs.

Input Parameters

boolean
required
True stops the import job and new syncs; false resumes it.
integer
required
Existing warehouse import ID.
integer ("0" | "3600000000000" | "86400000000000" | "604800000000000")
required
Required sync frequency in nanoseconds: 0 (API only), 3600000000000 (hourly), 86400000000000 (daily), or 604800000000000 (weekly).
integer
required
Mixpanel project ID.
object
Databricks-only cluster settings, or null. This fully replaces the configuration, rather than merging it; provide the complete desired export_cluster_config.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_UPSERT_SCHEMACreate or replace one event or profile Lexicon schema in a project. Requires a service account with project access. Replaces the existing schema matching the entity type and name. Sends the supplied schema JSON directly, including its properties and metadata.

Input Parameters

string
required
Entity name, such as an event name.
integer
required
Mixpanel project ID whose schema to upload.
string ("event" | "profile")
required
Entity type described by this schema: event or profile.
object
required
Entity JSON Schema sent directly as the request body. May contain description, properties, metadata, and arbitrary JSON Schema keywords or metadata.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: MIXPANEL_UPSERT_SCHEMASCreate or replace multiple event or profile Lexicon schemas in a project. Requires a service account with project access. Existing schemas with matching entity types and names are replaced. Setting truncate=true deletes the entire data dictionary before inserting the supplied entries.

Input Parameters

array
required
Schema entries to create or replace in the project’s Lexicon.
boolean
If true, delete the entire data dictionary before inserting entries.
integer
required
Mixpanel project ID whose schemas to upload.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not