zernio_get_post_metrics
Read synced performance metrics for published Zernio and external posts by post, account, profile, or change feed; get totals or day-by-day series with optional breakdowns.
Instructions
Read synced metrics for published posts, both Zernio posts and posts made outside Zernio. Send exactly one scope: postId / platformPostId (up to 100 ids, missing ones in meta.missingIds), accountId (list, up to 25 accounts), profileId, or changedSince (change feed). One id with granularity=day gives a day-by-day series. include=retentionCurve,audienceTypes,... adds breakdowns where the platform reports them. Lists page with cursor = pagination.nextCursor.
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": "zernio_get_post_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | e.g. published-desc, likes-desc, engagement-desc | |
| limit | No | Rows per page (default 50, max 100) | |
| cursor | No | pagination.nextCursor of the previous page, with the same query | |
| origin | No | Lists only: which posts (default all) | |
| postId | No | Comma-separated post IDs (Zernio or external), up to 100 | |
| toDate | No | Last day, inclusive (YYYY-MM-DD, UTC) | |
| groupBy | No | post | dayOfWeek,hour | postAge | format | |
| include | No | Comma-separated: post, samples, authenticity, impressionSources, audienceTypes, audienceCountries, retentionCurve | |
| metrics | No | Comma-separated metric names (default every metric) | |
| fromDate | No | First day, inclusive (YYYY-MM-DD, UTC) | |
| platform | No | Only with profileId, e.g. facebook | |
| accountId | No | Comma-separated account IDs, up to 25 (list) | |
| profileId | No | One profile ID (list) | |
| granularity | No | day reads one post day by day (default total) | |
| changedSince | No | now (starting cursor) or the previous pagination.nextCursor | |
| platformPostId | No | Comma-separated platform post IDs (e.g. a Facebook post id), up to 100 |