Get segment
get_segmentRetrieve a specific segment or cohort definition by providing its ID and website UUID.
Instructions
Fetch a single segment/cohort definition by ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segmentId | Yes | Segment/cohort ID. | |
| websiteId | Yes | Umami website UUID (obtain from list_websites). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |