List segments & cohorts
list_segmentsRetrieve saved segments and cohorts for a website. Filter by search and paginate results to manage audience definitions.
Instructions
List saved segments and cohorts defined for a website.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number. | |
| search | No | Substring filter. | |
| pageSize | No | Results per page (max 200). | |
| websiteId | Yes | Umami website UUID (obtain from list_websites). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| count | Yes | ||
| websiteId | Yes |