List website annotations
analytics_getWebsiteAnnotationsReturns a paginated list of dated notes for the website, optionally filtered by date range or search text. Dates: leave them out for every note, or pass range or startDate and endDate to narrow.
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>"
},
"name": "analytics_getWebsiteAnnotations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1. | |
| endAt | No | End of the date range as a Unix timestamp in milliseconds. | |
| range | No | A preset from the app's date picker, in the site's time zone. 7d, 30d, 90d: today and the days before it, from local midnight. 24h: the current hour and the 23 before it. 12m, 24m, 36m: this month and the months before it, from the 1st. month: this month. today: since local midnight. It gives the same numbers as the app. Leave out the other date fields when you use it. | |
| search | No | Search text used to filter results. | |
| siteId | Yes | The Sextant site ID. | |
| endDate | No | Last day of the range (YYYY-MM-DD), included to its end in the site's time zone. An ISO date-time is used as is. | |
| startAt | No | Start of the date range as a Unix timestamp in milliseconds. | |
| objectId | No | Optional: a short link or tracking pixel of this site, to read its analytics instead of the site's. | |
| pageSize | No | Number of results per page. | |
| startDate | No | First day of the range (YYYY-MM-DD), from local midnight in the site's time zone. An ISO date-time is used as is. | |
| maxResults | No | Maximum number of results to include. |