Post results
postkey_get_post_statsPostkey: Reports how the profile's published posts did over the last 7, 30 or 90 days by publish time: totals of views, likes, comments and shares across platforms, and the 10 best posts by views. With post_id, that one post only. With recent, the newest posts with views and captions instead, including posts made outside Postkey: use it to compare posts and audit hooks. Use it for post results; for DM automation results use postkey_get_automation_stats, and for one post's status or errors use postkey_get_post.
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": "postkey_get_post_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | The window, counted back from now: 7, 30 (default) or 90 days. | |
| recent | No | 1 to 50: the newest this many published posts across connected accounts, including posts made outside Postkey. Ignores days and post_id. | |
| post_id | No | Only this post (a UUID from postkey_list_posts). Leave out for the whole profile. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | false: refused (isError; code, message, guide_topic, url); no change. | |
| best | No | Up to 10 by views: post_id, platform, handle, title, caption_start, published, views, likes, comments, shares, link. | |
| days | No | The window: the last 7, 30 or 90 days, by publish time. | |
| note | No | With recent: history still syncing, or nothing connected. | |
| posts | No | Published posts in the window, counted once per social account. | |
| recent | No | With recent: how many were asked for. | |
| totals | No | views, likes, comments, shares. | |
| post_id | No | With post_id: the post asked for. | |
| recent_posts | No | With recent, newest first: platform, handle, published, views, likes, comments, shares, caption, link, made_with_postkey. | |
| accounts_read | No | With recent: accounts read. | |
| accounts_failed | No | With recent: accounts not read this time, with reason. | |
| accounts_skipped | No | With recent: accounts left out, with reason. |