> For the complete documentation index, see [llms.txt](https://docs.powerdevbox.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powerdevbox.com/pdac/activity-and-usage/ai-flow.md).

# AI Flow

AI Flow reviews AI Builder and Copilot consumption events in the selected environment. Use it to identify where credits are being consumed and compare totals by flow or model.

![AI Flow showing date bounds, credit type, creator, tool, model, and source filters before loading](https://811612578-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhDqoq1B5ZF4gJyKkaIEJ%2Fuploads%2Fgit-blob-7d04747c7529f4733d18293df671d74eee3e270d%2Fpdac-ai-flow.png?alt=media)

## Load events

1. Choose the header account and environment.
2. Open **AI Flow**.
3. Select a **Date range**. Presets include current month, previous month, **2x previous calendar month**, **3 calendar month view**, Today, Last 7/28/365 days, and Custom range.
4. Review the displayed **Start date** and **End date**; use a custom range for explicit bounds.
5. Select **Load AI Flow**.
6. Read the summary and any warnings before interpreting totals.

## Narrow the results

Use **Copilot or AI Builder Credits**, **Created by**, **Tool name**, **Model**, and **Source** to focus the loaded results. Switch **Totals by** to compare the available flow/model groupings. Sort the displayed tables as needed and open event details when the row offers them.

For example, start with one completed month, filter a particular model, then compare the contributing flows. Do not add unlike credit types together and assume the result is a monetary invoice; use Microsoft's licensing/billing sources for financial conclusions.

## Export

Select **Download Excel** after loading. Review the date bounds and filters so that a shared workbook has a clear scope. Event exports can contain creator identities and operational metadata; treat them as administrative data.

## Interactive activity versus reporting

This tab queries one header environment. [Reports](/pdac/reporting/reports.md) can run the corresponding report across checked environments and produce raw and/or totals workbooks.

The reporting pipeline uses completed calendar days and excludes today's partial activity. Do not assume an interactive **Today** query will match a scheduled completed-day snapshot. For historical comparisons and forecasts, enable saved trend data and use [Trends](/pdac/reporting/trends.md).

{% hint style="info" %}
An empty or incomplete result can reflect source retention, unavailable data, permissions, or the chosen date range. Check warnings and compare the same environment and bounds before concluding that no AI activity occurred.
{% endhint %}
