> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arouter.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Activity Export

> Export your ARouter usage data as CSV or PDF reports.

Export your aggregated usage data as CSV or PDF from the [Activity page](https://arouter.ai/activity).

## Overview

The Activity page shows three key metrics:

* **Spend**: Total credits consumed (including estimated BYOK spend)
* **Tokens**: Total tokens used (prompt + completion)
* **Requests**: Number of API requests made

You can filter by time period (**1 Hour**, **1 Day**, **1 Month**, **1 Year**) and group by **Model**, **API Key**, or **Creator** (organization member).

## How to Export

1. Go to [arouter.ai/activity](https://arouter.ai/activity)
2. Select your desired time period and grouping
3. Open the options dropdown (top right of the page)
4. Choose **Export to...** then select **CSV** or **PDF**

This exports a summary of all three metrics. For detailed breakdowns, click into a specific metric first.

## Detailed Exports

Click any metric card to expand it, then:

* See breakdowns by your selected grouping
* Export the detailed data as CSV or PDF

For example, a "Tokens by API Key" export for the last month includes a summary of all keys plus per-key breakdowns.

## Reasoning Tokens

Reasoning tokens (used by models like DeepSeek R1, Claude with extended thinking, o4-mini) are included in **completion tokens** for billing. The activity export shows how many of the completion tokens were reasoning tokens.

## Estimated BYOK Spend

For requests using Bring Your Own Key (BYOK), spend is estimated based on market rates for that provider. These estimates do not reflect any discounts you may have negotiated directly with the provider.

## API Access

You can also retrieve usage data programmatically via the billing API:

```bash theme={null}
curl https://api.arouter.ai/v1/billing/transactions \
  -H "Authorization: Bearer $AROUTER_API_KEY"
```

See [List Transactions](/en/api-reference/billing/list-transactions) for the full API reference.
