Create Event Stream Import

Create a new warehouse import for event data.

Event stream imports sync event data from your warehouse table to Mixpanel. Each row in your table becomes an event in Mixpanel.

Sync Modes

  • time_based: Incrementally syncs new rows based on an insert time column
  • mirror_mode: Detects changes in the source table and mirrors them to Mixpanel
  • full_sync: Re-syncs all data on each run
  • one_time: Syncs data once and does not repeat

Required Column Mappings

You must specify either:

  • event_name: A static event name for all rows
  • event_column_name: The column containing the event name

For B2B projects, company_column_name is also required.

Scheduling

  • run_every (integer): Sync frequency in nanoseconds. Allowed values:
    • Trigger via API: 0
    • Hourly: 3600000000000 (60 * 60 * 10^9)
    • Daily: 86400000000000 (24 * 60 * 60 * 10^9)
    • Weekly: 604800000000000 (7 * 24 * 60 * 60 * 10^9)
  • databricks_params (object): Databricks-specific cluster configuration (only for Databricks sources)
Path Params
integer
required

Your project id (eg: 12345)

Body Params
string
enum
required
Allowed:
integer
required
table_params
object
required

Table location parameters (structure depends on warehouse type)

string
string
string
required
string
string

Required for B2B projects. The column containing the company identifier.

string | null
string | null
string
enum
required
Allowed:
integer
enum

Sync frequency in nanoseconds. Only these values are accepted:

  • 0 - API-triggered only (use the manual-sync endpoint to trigger)
  • 3600000000000 - Hourly
  • 86400000000000 - Daily
  • 604800000000000 - Weekly
Allowed:
string | null
property_mappings
object | null
databricks_params
object | null
Responses

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