Skip to main content
GET
Retrieve all cohorts

Authorizations

k
string
query
required

Query Parameters

include-child-workspaces
boolean

Whether to return cohorts belonging to workspaces below the requesting workspace in the organization hierarchy. Defaults to false if not specified.

Response

List of cohorts in summary form (excluding query)

id
string
required
code
integer
required
name
string
required
state
enum<string>
required
Available options:
Enabled,
Disabled
workspaceId
string
required
segmentType
object
required
createdAt
string<date-time>
required
lastUpdatedAt
string<date-time>
required
description
string
tags
string[]
liveAudienceSize
integer