@this-npm-test-org/connection-mixpanel
v0.1.3
Published
Mixpanel: product analytics — events, funnels, retention, and saved reports.
Readme
Mixpanel Connection
Connects your agent to Mixpanel for product analytics. Run event/funnel/retention queries, list saved reports, and pull cohort exports.
Authentication
Service account (preferred) — Basic auth with username:secret. Project ID is required for every query.
MIXPANEL_SERVICE_ACCOUNT_USERNAMEMIXPANEL_SERVICE_ACCOUNT_SECRETMIXPANEL_PROJECT_ID
Endpoints
Queries (Query API)
GET /api/2.0/events— Event volume by name and dateGET /api/2.0/events/properties— Property breakdown for an eventGET /api/2.0/funnels— Funnel resultsGET /api/2.0/retention— Retention curveGET /api/2.0/segmentation— Segmented event data
Saved entities
GET /api/2.0/funnels/list— Saved funnelsGET /api/2.0/cohorts/list— Saved cohortsPOST /api/2.0/engage— People profile query
Export (Data Export API)
GET /api/2.0/export— Raw event export — gated, large payloads only on demand
Rules
- Rate limit: 60 queries/hour for query endpoints, 100 concurrent on Export
- Project ID must be set on every request via
?project_id=… - Raw export can return very large payloads — only use with explicit date range and event filter
