report_posts
Fetches performance metrics for each published post in a social account over a selected period, enabling comparison of higher- and lower-performing posts.
Instructions
Metrics per published post of one account (account_id = smpa_id) over a period, to find the best and worst performing posts. Same period options as report_account.
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": {
"account_id": "<account_id>"
},
"name": "report_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Named window in the workspace owner's timezone: today, yesterday, last_week (the 7 days before today, today left out) or last_month (the last 30 days including today). Ignored when start_date or end_date is sent. Default: last_week. | |
| end_date | No | Last day of the period, YYYY-MM-DD, not before start_date. | |
| account_id | Yes | Encrypted social account id from /api/social_account_list. | |
| start_date | No | First day of the period, YYYY-MM-DD in the workspace owner's timezone. Send it together with end_date; at most 366 days apart. | |
| workspace_id | No | Workspace to act in (ws_id from workspace_list). Omit to use your default workspace. |