Skip to main content
Mixpanel holds your product’s behavioral truth — who your users are, what they do, where they drop off, and which features they adopt. These five jobs pull that data through Mavera’s surfaces (Custom Personas, Focus Groups, Mave Agent, Generate) so your personas, messaging, and campaigns are grounded in real product usage, not survey data.

API Reference Card

All examples use four environment variables: MIXPANEL_SERVICE_ACCOUNT (service account username), MIXPANEL_SECRET (service account secret), MIXPANEL_PROJECT_ID, and MAVERA_API_KEY. Python examples use requests with Basic Auth; JavaScript examples use fetch with the same auth pattern.

Prerequisites

1

Mixpanel project with data

You need an active Mixpanel project with at least 30 days of tracked events and user profiles. Find your project ID in Mixpanel → Settings → Project Settings.
2

Service account

Create a Service Account in Mixpanel → Organization Settings → Service Accounts. Grant it Analyst role on your project.
3

Mavera API key

Get your key from Mavera dashboard.
4

Environment variables


Jobs


Rate Limits & Production Notes

Mixpanel’s 60 queries/hour limit is strict and applies across all query APIs. If you run all 5 jobs sequentially, budget ~20 queries total. Spread jobs across hours or cache results locally for exploratory analysis.
Production checklist:

What’s Next

All Integrations

50+ API integrations with full code

Mixpanel API Docs

Official Mixpanel API reference

Personas API

Full reference for POST /api/v1/personas

Focus Groups API

Full reference for POST /api/v1/focus-groups

Mave Agent

Full reference for POST /api/v1/mave/chat

Generate API

Full reference for POST /api/v1/generations