postiz_get_platform_analytics
Retrieve follower, impression, and engagement metrics for a connected social media channel. Specify integration ID and optional lookback period (1-365 days) to get available analytics from the platform.
Instructions
Get follower / impression / engagement analytics for a connected channel via GET /api/analytics/platform. Available metrics depend on what the platform exposes to Postiz.
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": {
"integrationId": "<integrationId>"
},
"name": "postiz_get_platform_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| integrationId | Yes | Integration id. | |
| date | No | Lookback in days. Postiz default applies when omitted. |