List saved segments or cohorts
umami_list_segments_cohortsList saved segments or cohorts for a website to review audience groupings as shown in Umami UI. Choose segment or cohort type, optionally filter by website, and get markdown or JSON output.
Instructions
List the saved Segments or Cohorts for a website, as they appear under Audience in the Umami UI.
Args:
website (string, optional): Website ID, name, or domain.
type ('segment' | 'cohort', required): Which kind to list.
response_format ('markdown' | 'json'): Output format (default: 'markdown').
Returns: JSON shape: { "reports": [ { "id": string, "name": string, "type": string, "parameters": object, "created_at": string } ] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| website | No | Website ID (UUID), name, or domain. Optional if UMAMI_DEFAULT_WEBSITE is set. Use umami_list_websites to discover values. | |
| response_format | No | Output format: 'markdown' for a readable summary, 'json' for raw structured data. | markdown |