> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Mixpanel raw events

> Land one bounded Mixpanel Raw Event Export on your app.

Follow the [REST mount guide](https://docs.bijection.com/integrations/native-rest.md). Use `providerEndpoint` with your project's regional Mixpanel Export origin, such as `https://data.mixpanel.com`, and `/api/2.0/export`. Seal the Base64 service account username and secret as `Authorization` header auth with prefix `Basic `. Bind the receiver and the mount under the same restricted `data` label.

Initialize with `{ profile: { mode: "provider", provider: "mixpanel.events.export", limit: 100, selection: "1354", start: "2026-10-02", collection: "Signed up" } }`. Set `selection` to the project ID, `start` to one provider calendar day, and optionally use `collection` for one event name. Use a completed historical day. Mixpanel defines the day boundary according to the project's age and timezone.

The source keys each event by name, distinct ID, millisecond event time and `$insert_id`. It requests one extra event to detect a capped export. More than the configured limit, duplicate or incomplete keys, malformed JSON Lines, and responses over 36 KiB fail the request. A complete response ends the source with no continuation or inferred deletions. The feed requires the bundled parser artifact.

[Mixpanel Raw Event Export](https://docs.mixpanel.com/reference/raw-event-export)

## Saved cohorts and profiles

Use the same protected label and a sealed Basic service-account credential
with `https://mixpanel.com`, `https://eu.mixpanel.com` or
`https://in.mixpanel.com`. Bind one of the following through
`providerEndpoint`. Set `selection` to the numeric project ID.

| Mode | Path | Terms and key |
| - | - | - |
| `mixpanel.cohorts.observations` | `/api/query/cohorts/list` | Optional workspace ID in `collection`. Keys are project and cohort ID. |
| `mixpanel.profiles.by-id` | `/api/query/engage` | Exact distinct ID in `collection`. Use `limit: 1`. Keys are project and distinct ID. |

Both modes require a single answer within the declared row limit and
36 KiB. Cohort metadata can contain up to 100 rows. Polls repeat the
same request. A missing result leaves any earlier observation in place.

[Saved cohorts](https://docs.mixpanel.com/reference/cohorts-list) · [Query profiles](https://docs.mixpanel.com/reference/engage-query)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.