Get a website segment or cohort
analytics_getWebsiteSegmentReturns a saved segment or cohort and its filter parameters for the website.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"siteId": "<siteId>",
"segmentId": "<segmentId>"
},
"name": "analytics_getWebsiteSegment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | The Sextant site ID. | |
| objectId | No | Optional: a short link or tracking pixel of this site, to read its analytics instead of the site's. | |
| segmentId | Yes | ID of the saved segment or cohort. |