Account insights
get_insightsEngagement over a window: totals, per platform, per format. coverage says how much of the window the totals rest on: with_metrics + unreportable + awaiting = deliveries. Stories are never reported on by Instagram or Facebook, so format: "story" totals are zero however many went out. ever_delivered separates an empty window from an empty history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Filter to one format (feed post / reel / story) | |
| platform | No | Filter to one platform, e.g. instagram | |
| since_days | No | Window in days (default 30) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | Present and false only on a refusal. | |
| error | No | What was refused, in a sentence, when `ok` is false. | |
| posts | No | ||
| totals | No | ||
| coverage | No | How much of the window the totals actually cover. with_metrics + unreportable + awaiting === deliveries. | |
| by_format | No | ||
| retriable | No | False when asking again cannot change the answer. | |
| deliveries | No | ||
| error_code | No | Machine reason for a refusal. | |
| since_days | No | ||
| by_platform | No | ||
| replaced_by | No | The id the post has now, when you asked with one an edit retired. An edit gives a post a new id: get_delivery_receipt and get_post_metrics answer for this current version (and `asked_for` is the id you sent); update_post and delete_post refuse with error_code `replaced`. Use this id from here on. | |
| median_sample | No | How many deliveries the median came from. Under a handful it is a coin toss. | |
| median_engagement | No | The baseline one post has to be read against — a raw total says nothing on its own. |