Read how the recorded posts performed
collect_post_metricsCollect due post-performance reads at 24h and 7-day marks, storing time-series. Unavailable channels marked ABSENT with reasons; metered X reads skipped unless user approves credit cost.
Instructions
Fetch fresh performance numbers for this brand's recorded posts and store them as a time-series. Metrics ACCRUE, so a post is read at ~24 hours and again at ~7 days; this collects whichever readings are due and skips the ones already taken. A channel that cannot report a metric records it as ABSENT with the reason — never as zero — and a read that fails is recorded as 'could not tell', which contributes to nothing. X IS SKIPPED BY DEFAULT because X bills us per API call: pass includeMetered:true to include it, and tell the user it costs credits BEFORE you do. The skip is always reported so a channel missing from the numbers is never mistaken for one that performed badly. Free except for X.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | cap how many posts to read in this run (default 40) | |
| includeMetered | No | also read X, which BILLS CREDITS per post read — ask the user first |