Get daily aggregated metrics
analytics_get_daily_metricsGet daily aggregated metrics
Args:
platform: Filter by platform (e.g. "instagram", "tiktok"). Omit for all platforms.
profile_id: Filter by profile ID. Omit for all profiles.
account_id: Filter by social account ID
from_date: Inclusive start date (ISO 8601). Defaults to 180 days ago.
to_date: Inclusive end date (ISO 8601). Defaults to now.
source: Filter by post origin. "late" for posts published via Zernio, "external" for posts imported from platforms.
attribution: How each post's engagement is attributed to a day.
"publish" (default) sums each post's lifetime total on its publish date. "received" buckets the per-day increase in engagement by the day it actually arrived (engagement-over-time), so engagement on older posts appears on the day it was gained rather than the post's publish date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | all | |
| to_date | No | ||
| platform | No | ||
| from_date | No | ||
| account_id | No | ||
| profile_id | No | ||
| attribution | No | publish |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |