benecaster_analytics_feed_health
What GET benecaster-analytics/v1/analytics/feed-health answers: for each show, one entry per UTC day of the range saying whether Benecaster’s nightly check found the public feed valid or invalid, with its first problem, the episode count, the feed size and, for a show that syncs from an external feed, the sync runs and failures. A night the check did not run is unchecked, with every figure null: never draw it as valid, and never carry the day before into it. The same data feeds the Feed health panel, its Export CSV, the PDF and the weekly and monthly digests’ feed_health section. tier_slug is always null: the public feed has no tier. A non-array return is ignored.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$data |
array |
— | `show_ids`, `date_from`, `date_to`, `tier_slug` and `shows`, each `{show_id, show_name, syncs, first_checked, last_checked, totals, problems, days}`; a day is `{date, state, error_count, first_error_code, first_error_label, episode_count, feed_size_bytes, sync_runs, sync_failures, checked_at}`. |
$args |
array |
— | `show_ids`, `date_from`, `date_to`, `tier_slug` (always `null`). |
Returns:
array
Need this built rather than just documented? See our services →