Skip to content

mixpanel_cohort (Data Source)

Fetches a Mixpanel cohort — a saved user segment defined by behavioral or property criteria. See also mixpanel_cohort resource.

Example Usage

data "mixpanel_cohort" "power_users" {
  project_id = 1234567
  cohort_id  = 303
}

Only cohort_id and project_id are inputs; the remaining attributes are populated from the fetched cohort.

Schema

Required

  • cohort_id (Number)
  • project_id (Number)

Optional

  • groups (String)

Read-Only

  • data_group_id (String)
  • description (String)
  • id (Number) The ID of this resource.
  • is_locked (Boolean)
  • is_visible (Boolean)
  • name (String)