Create Pipeline

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Form Data
number

Your project id (must be specified when using service account based authentication)

string
required
Defaults to gcs-raw
boolean
Defaults to false

Default: false

A trial pipeline will be created if value is true.

The trial exports all of your events and user data for thirty calendar days, starting from one day before the API call was made. A trial pipeline has default values for the following parameters:

data_source: events from_date: <defaults to previous day> to_date: <no value> frequency: daily events: <no value>

string
enum
Defaults to events

Default: events

data_source In this type of pipeline it can only be events which exports Mixpanel event data.

Allowed:
date
required

The starting date of the export window. It is formatted as YYYY-MM-DD and cannot be more than six months in the past.

If trial is set to true this will default to the previous day; otherwise, it is a required parameter.

date

The ending date of the export window. It is formatted as YYYY-MM-DD. The export will continue indefinitely if to_date is empty.

string
enum
Defaults to daily

Default: daily

frequency can be either hourly or daily. hourly exports the data every hour. daily exports the data at midnight (based on the projects timezone). frequency should only be passed if your export window is indefinite.

Allowed:
string

A whitelist for the event(s) you intend to export. For multiple events, you will need to pass in each event name as separate events parameters like so: --data 'events=event1' \ --data 'events=event2'

All events in the project will be exported if no events are specified.

string

A selector expression used to filter by events data, such as event properties. Learn more about how to construct event selector expressions here.

string
enum
Defaults to json

Default: json

The file format of the exported data. data_format for this pipeline type can be only json .

Allowed:
string
required

The GCS bucket to export the Mixpanel data to.

string

The GCS path prefix of the bucket.

string
enum
required

The GCS region for the bucket.

Responses

Language
Credentials
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json