Mby Mixpanel
Query profiles
Returns the user or group profiles that match a selector expression or belong to a cohort.
Description
Filter with a `where` selector or `filter_by_cohort`, and include `project_id`. Each response holds at most `page_size` records; page with the `session_id` from the first response and an incremented `page`.
query-profiles.md
Query profiles
Returns the user or group profiles that match a selector expression or belong to a cohort.
Filter with a where selector or filter_by_cohort, and include project_id. Each response holds at most page_size records; page with the session_id from the first response and an incremented page.
Set up
Use the first option your agent supports.
API (official)
- Base URL: https://mixpanel.com/api/query
- Endpoint:
POST /engage - Auth: send the header
Authorization: Basic $MIXPANEL_SA_TOKEN - Get a key: https://mixpanel.com/settings/org#serviceaccounts
- Docs: https://docs.mixpanel.com/reference/query-api
Before doing anything else, make one read-only call to confirm access.
Rules
- Ask the user before anything that sends messages, costs money, or changes data.
- Never print API keys.
Built from these files in the repository
The layout and the rules come from lib/catalog/render-markdown.ts, the set-up wording from lib/catalog/render-access.ts.
Ways in
| Route | Source | Call | Required | Docs |
|---|---|---|---|---|
| Official | POST /engage | API key in $MIXPANEL_SA_TOKEN | Docs |