How published posts did
get_post_performanceNumbers for posts that already went out — views, reach, likes, comments, shares, saves and so on, per account, with when they were read. Pass post_id for one post, or from/to (YYYY-MM-DD, inclusive, by when they went out; default the last 7 days, at most 92) for the brand's posts in that range. Numbers older than an hour are re-read. A metric a platform does not report is left out, never shown as 0. X numbers cost money to read, so they are re-read only for ONE post with include_x: true when the user asks about it; LinkedIn personal profiles cannot be read and say so. Free (no Creative Credits).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day, YYYY-MM-DD. Ignored with post_id. | |
| from | No | First day, YYYY-MM-DD. Ignored with post_id. | |
| post_id | No | The post id from get_calendar | |
| brand_id | Yes | Brand workspace id from list_brands | |
| include_x | No | Also re-read X numbers for this ONE post. Only with post_id, and only when the user asked about this post. | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. |