refresh_analytics
Fetch fresh analytics for a published post from the provider and store a new snapshot, then return it. Supported providers: Instagram, TikTok, YouTube, Reddit, X, Pinterest, Snapchat (others return an unsupported snapshot). Call this before get_analytics when you need current numbers rather than the last stored snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | Yes | The published post id to refresh. | |
| window | No | Optional analytics window, e.g. 7d (default lifetime). |