list_cohorts
List player cohorts (dynamic player segments) in the current project, or fetch one cohort by id. Each result includes its 'description' (who is in it and what it is for, when set) and a 'summary' with block/condition counts and referenced event names — use them for a quick shape of the definition. Use 'search' to find cohorts by name or description. Load the cohorts skill (load_skill("cohorts")) first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (default 25, max 100). | |
| search | No | Filter and rank results by cohort name and description. | |
| cohortId | No | When set, fetch this single cohort instead of listing. | |
| projectId | Yes | The project (application) id to scope this call to. Use list_projects to discover valid ids. | |
| environment | Yes | The environment name to scope this call to (e.g. 'production'). Use list_projects to discover the names available to this token. | |
| includeDefinitions | No | When listing, include each cohort's raw definition JSON. Defaults to false. |