Get Post Analytics
get_analyticsGet social media performance analytics for the workspace (summary KPIs, per-account metrics, and ranked top-performing posts over the last 1-90 days) so you can see what content performs best.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Optional end date as ISO-8601 string or Unix epoch ms. | |
| days | No | Number of days to look back (1-90, defaults to 30). Ignored if both from and to are provided. | |
| from | No | Optional start date as ISO-8601 string or Unix epoch ms. | |
| sort | No | How to rank topPosts. | engagements |
| postOffset | No | Optional pagination offset for topPosts. | |
| connectionIds | No | Optional list of connection IDs from list_connections to filter analytics. |