Query API
Cohorts
List and query user cohorts
POST
Cohorts
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/mixpanel/docs/llms.txt
Use this file to discover all available pages before exploring further.
Query Cohorts
List saved cohorts and retrieve cohort membership information.List Saved Cohorts
Your Mixpanel project ID
The workspace ID
Example Request
Response
Number of users currently in the cohort
Visibility status (0 = not visible, 1 = visible)
Cohort description
Creation timestamp
Project ID
Cohort ID
Cohort name
Query Cohort Members
Use the/engage endpoint with filter_by_cohort parameter to get users in a cohort:
Cohorts