Get brand analytics
get_analyticsRetrieve performance analytics for a brand or workspace over a chosen time window, including totals, deltas, channel rollups, engagement, follower trends, top posts, and posting-time insights.
Instructions
Performance over a window for the connection's brand, or on an all-brands connection for the workspace or the one brand named by productId: totals with the prior period for deltas, per-channel rollups, daily series, engagement breakdown, follower trend, top posts, posting-time heatmap, content-type averages, computed insights, and coverage. Covers the whole account: posts published through Markaestro and posts published directly on the platform (discovered from the connected account); coverage.bySource says how many of each. Read this before recommending what, when, or where to post. The window is clamped to the plan's history (the response reports maxDays). Unavailable provider metrics are null, not zero.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | Viewer timezone offset in minutes east of UTC; shapes the heatmap only | |
| days | No | Preset window ending today (UTC); default 28 | |
| since | No | Explicit range start, YYYY-MM-DD (UTC); needs until | |
| until | No | Explicit range end, YYYY-MM-DD (UTC), inclusive | |
| source | No | Only posts published through Markaestro, or only posts published directly on the platform; omit for the whole account | |
| channel | No | Restrict every number to one channel | |
| productId | No | One brand, on an all-brands connection; omit for the whole workspace. A single-brand connection always reports its own brand. |