> For the complete documentation index, see [llms.txt](https://docs.podigee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.podigee.com/documentation/start-here/ai-agents/content-analytics-and-distribution/analyze-podcast-performance.md).

# Analyze podcast performance

Ask your assistant for downloads, video plays, and switched-on Spotify and YouTube figures of your shows.

Your assistant reads the analytics of your shows through the Podigee MCP (Model Context Protocol) server. All analytics tools only read. They change nothing in your account.

This page shows each analytics job. The exact rules for ranges, download fields, sources, and source states are on [Analytics semantics](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/analytics-semantics.md). Each tool, with its parameters and errors, is on [Analytics tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/analytics.md).

## What you need

* A connected assistant with the scope `mcp:analytics:read`. The [scope table](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/authorization-and-scopes.md) shows all scopes.
* Permission to see the analytics of the show.
* The ID (identifier) of the show or the episode. The assistant finds it with `list_podcasts` or `list_episodes` when you give the title.
* For questions about "the last N days": your time zone. The assistant reads it from `doctor`.

## Rules for every answer

* **Downloads are not listeners.** Never call a download figure "listeners".
* **Use `downloads.complete`.** It is the download count that Podigee shows everywhere else.
* **Never add two sources.** Downloads, video plays, Spotify plays and streams, and YouTube views have different units.
* **Late platforms.** Spotify figures arrive about one day late. YouTube figures arrive two to five days late. A missing newest day is not zero.
* **Switched-on platforms only.** Spotify and YouTube figures appear only where Podigee has switched them on. Where they are off, the source is not in the answer at all.
* **Plan history.** An answer covers only the dates that your plan shows. Report the range that Podigee returned, not the range that you asked for.

## Summarize a show

Use this for a quick overview of one show.

1. Ask your assistant, for example: "Summarize the downloads of The Morning Mug for the last 30 days."
2. The assistant calls `analytics_summary` with `podcast_id`.
3. The assistant reads the effective range in `meta.history_window.effective_range` and names it.
4. The assistant adds `downloads.complete` of all returned periods for the total.
5. The assistant reports each entry of `sources` (video plays, Spotify, YouTube) on its own line.

Without a range, the summary reads 30 days that end yesterday. For "the last N days", the assistant sends `from` as today minus N-1 days and `to` as today, in your time zone. The Podigee analytics pages count the same way.

Podigee selects the bucket size from the length of the range:

| Range         | Buckets |
| ------------- | ------- |
| Up to 1 day   | Hours   |
| Up to 32 days | Days    |
| Up to 94 days | Weeks   |
| Longer        | Months  |

With weeks or months, Podigee reads whole weeks or whole months. The window that Podigee read is then wider than the window that you asked for. The answer gives that window in `meta.timerange`. Report the figures of that window and name it. If your assistant names other limits, the limits in this table apply. For daily figures of a long range, use `get_source_analytics` with `granularity: day` (see [Read figures by source](#read-figures-by-source)).

**Expected result:** a total of downloads for a named range, the bucket size, and the totals of each other source, each in its own unit.

**If it fails:**

* The range is shorter than you asked for: your plan shows less history. Report the returned range. The answer gives `upgrade_url` for the plan review.
* The `sources` block is missing: this does not mean "no video". Podigee leaves the block out when the range ends before the first day that the plan keeps, or is longer than 366 days. A source with the state `degraded` was not read in time. Ask again later.
* A permission error: the connected user cannot see the analytics of this show. Check [the account and permissions](https://docs.podigee.com/documentation/start-here/ai-agents/connect-and-authorize/choose-the-account-and-permissions.md).

**Next step:** [Summarize one episode](#summarize-one-episode).

## Summarize one episode

1. Ask your assistant, for example: "How did episode 12 of The Morning Mug do?"
2. The assistant calls `analytics_summary` with `episode_id`.
3. The assistant names the effective range and adds `downloads.complete` for the total.
4. The assistant reports `sources` for the episode, each on its own line.
5. The assistant compares the range with the publication date of the episode.

**Expected result:** the downloads of the episode for a named range, and the totals of the other sources for the same days.

**If it fails:**

* The episode is a draft: a range can still return figures. Do not call them performance after publication.
* A new episode has no Spotify or YouTube figures yet: the platform did not deliver them yet. A platform that never reported the episode gives the state `not_reported`. Report the state, not a zero.

**Next step:** [Compare an episode's first days](#compare-an-episodes-first-days-after-publication).

## Request an exact date range

Use `from` and `to` when a report needs fixed calendar dates.

1. Tell your assistant the first and the last date, for example: "Downloads from 1 September to 30 September."
2. The assistant sends `from` and `to` together, as ISO 8601 dates (`2026-09-01`) or date-times.
3. The range is 366 days or shorter, and `from` is on or before `to`.
4. The assistant does not send `days_offset` or `days_since_published` with them.
5. The assistant compares `requested_range` with `effective_range` and reports `history_clamped`.

Both dates are included. The download tools always read whole UTC (Coordinated Universal Time) days. A date-time selects the UTC day that it falls in, not an hour. For figures by the hour, ask for a one-day range. When your plan has hourly figures, the answer has hourly buckets for that whole day.

Default ranges differ between the tool groups:

| Tools                                                                                                    | No range                             | `days_offset: N`           |
| -------------------------------------------------------------------------------------------------------- | ------------------------------------ | -------------------------- |
| `analytics_summary`, `get_podcast_analytics`, `get_episode_analytics`                                    | 30 days that end yesterday           | N days that end yesterday  |
| `list_analytics_sources`, `get_source_analytics`, `list_source_episode_analytics`, `get_source_overview` | The last 30 UTC days, today included | N UTC days, today included |

The source tools accept only dates (`YYYY-MM-DD`), not date-times.

**Expected result:** the figures for your dates, or for the part of them that your plan shows.

**If it fails:** send both dates, remove the other range fields, correct the date format, or shorten the range to 366 days. The source tools also refuse a `from` in the future and a range that ends before your plan history starts (`invalid_range`).

**Next step:** [Read history and completeness](#read-history-and-completeness).

## Compare an episode's first days after publication

Use `days_since_published` to measure several episodes over the same early window.

1. Choose a number of days from 1 to 366. Use the same number for every episode.
2. Ask your assistant, for example: "Compare the first 7 days of episodes 10, 11 and 12."
3. The assistant sends `days_since_published` with `episode_id`, and no other range field.
4. The assistant uses the same tool for every episode in the comparison.
5. The assistant names any plan limit or incomplete period before it compares totals.

The tools read this window differently:

| Tool                                         | What `days_since_published: N` reads                                                                           | Episode without a publication date |
| -------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | ---------------------------------- |
| `get_source_analytics`                       | N calendar days (UTC), from the publication day                                                                | Refused with `invalid_range`       |
| `analytics_summary`, `get_episode_analytics` | From the start of the publication day to the end of the day N days later: N+1 calendar days. N=7 reads 8 days. | Reads from the creation date       |

For exactly N days, ask for `get_source_analytics` with `source: podigee_audio`. Name the number of days that the answer covers.

**Expected result:** each episode is measured over the same window from its own publication day.

**If it fails:** a draft has no publication date. Do not call its figures "days after publication". Publish the episode first, or use an exact date range and describe it.

**Next step:** [Read figures by source](#read-figures-by-source).

## Read figures by source

Four tools read one source at a time: `podigee_audio` (downloads), `podigee_video` (video plays), `spotify` (plays, streams), and `youtube` (views, engaged views, watch time, subscribers).

1. The assistant calls `list_analytics_sources` with `podcast_id`. It lists the sources of the show, the state of each, the unit of each metric, and how far its data reaches. It gives no figures.
2. For figures by day, week, or month, the assistant calls `get_source_analytics` with `source` and `podcast_id` or `episode_id`. It can add up to 6 `breakdowns`, for example `countries`.
3. For one total for each episode of a show, the assistant calls `list_source_episode_analytics`. The latest release comes first. A page holds 20 episodes by default and 50 at most.
4. For unique listeners and subscribers, or unique viewers, the assistant calls `get_source_overview` with `podigee_audio` or `podigee_video`. The range is 40 days at most. Spotify and YouTube report no unique audience.

| Source        | Example question                                                                                     |
| ------------- | ---------------------------------------------------------------------------------------------------- |
| Podigee audio | "Show the daily downloads of this show for the last 30 days."                                        |
| Podigee video | "How many video plays did this show have last week? Split them into plays with and without picture." |
| Spotify       | "Show the Spotify streams of this show for last week by country."                                    |
| YouTube       | "How many YouTube views and how much watch time did this show get this month?"                       |

Without `granularity`, the range selects the bucket size, as in the table above. `granularity: day` works for any range up to 366 days. Hours work only for a range of one day, and only for Podigee audio and for Podigee video without breakdowns. Other requests for hours get days.

**Expected result:** figures of one source in its own unit, with `meta.state`.

**If it fails:**

* `meta.state` is not `available`: there are no figures. Say what the state means and never report 0. The states are on [Analytics semantics](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/analytics-semantics.md).
* `unknown_source`: the source is not switched on for this show. The message lists the sources that exist.
* `invalid_breakdown`: the source does not offer this breakdown. The message lists the ones it has.
* `range_too_long_for_audience`: `get_source_overview` covers at most 40 days. Shorten the range.
* `analytics_busy`: the analytics database is busy. Wait 30 seconds and ask again.
* Fields in `meta.withheld_fields` are not in the plan of the show. Say so.

**Next step:** [Compare all your shows](#compare-all-your-shows).

## Compare all your shows

Use this for the downloads of all your shows together and a ranking of the shows.

**What you need:** your plan must include catalog analytics, the comparison of shows. Without it, Podigee refuses the request: "Reading all podcasts together is not included in this plan."

1. Ask your assistant, for example: "Rank my shows by downloads for last month."
2. The assistant calls `analytics_summary` with `all_podcasts: true` and no `podcast_id` or `episode_id`. It can add `from` and `to` or `days_offset`. `days_since_published` does not apply.
3. The assistant reads `coverage.complete`. If it is `false`, the assistant calls again with the same arguments before it reports an account figure.
4. The assistant reports `total_downloads` and the list `podcasts`, ranked by downloads, with the share of each show in percent.

The plan that shows the shortest history decides the window for all shows. The answer has only downloads, not the other sources, and its buckets are never smaller than one day.

**Expected result:** one total for the account and a ranked list of shows for a named range.

**If it fails:** a refusal names the missing plan option. Read each show on its own with `podcast_id`. The [comparison in the Podigee app](https://docs.podigee.com/documentation/grow-and-monetize/analytics/compare-several-podcasts.md) shows the same figures.

**Next step:** [Find analytics reports](#find-analytics-reports).

## Find analytics reports

Podigee can make analytics reports as files. Your assistant can list them, but it cannot make or download a report.

1. Ask your assistant to list the analytics reports.
2. The assistant calls `list_analytics_reports`. A page holds 25 reports by default and 100 at most.
3. Review the report ID, show ID, formats, start date, end date, and creation time.
4. If `pagination.next_offset` is present, the assistant asks for the next page.

The list holds only reports of shows in the connected account.

**Expected result:** you know if a report exists for the show, the period, and the format.

**If it fails:** if no report matches, ask for a live summary instead. To get reports by email, see [Receive weekly analytics reports](https://docs.podigee.com/documentation/grow-and-monetize/analytics/receive-weekly-analytics-reports.md).

**Next step:** [Summarize a show](#summarize-a-show).

## Read history and completeness

Every answer has a history window. Read it together with the figures.

| Field                    | Meaning                                                                 |
| ------------------------ | ----------------------------------------------------------------------- |
| `requested_range`        | The range that the assistant asked for.                                 |
| `effective_range`        | The range that Podigee returned under the plan and the age of the show. |
| `history_limited`        | The plan shows a limited history.                                       |
| `history_clamped`        | Podigee shortened this request.                                         |
| `history_available_from` | The first moment that the plan shows, when there is a limit.            |
| `upgrade_url`            | The page where you review your plan.                                    |

* Results come in date order. Days, weeks, and months without downloads are included with zero downloads. Hourly results leave out empty hours.
* `raw` and `total` can include partial or repeated downloads. `streaming` counts stream starts. Use `complete` for the download count.
* An answer can leave out a breakdown that your plan does not show. A missing field is not zero.

**Next step:** [Analytics semantics](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/analytics-semantics.md) has the full rules. In the Podigee app, see [Understand analytics history by plan](https://docs.podigee.com/documentation/grow-and-monetize/analytics/understand-analytics-history-by-plan.md) and [Understand video, Spotify, and YouTube figures](https://docs.podigee.com/documentation/grow-and-monetize/analytics/understand-video-spotify-and-youtube-figures.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.podigee.com/documentation/start-here/ai-agents/content-analytics-and-distribution/analyze-podcast-performance.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
