> For the complete documentation index, see [llms.txt](https://docs.thousandeyes.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thousandeyes.com/product-documentation/connected-devices/usage-guides/exporting-data.md).

# Exporting Data

This section will walk you through exporting metric or test data, for use with external analytics tools.

## Data Exports

Navigate to **Connected Devices > Data Export**. On this page you'll see the **Export Builder** on the left.

![](/files/AKtMXK2lWx3NeFbbiHpT)

You can export:

* Aggregated Metric Data, which is the same kind of data export you’d get if you exported a line chart as a CSV file in that it will include data such as the average speed for each data point (e.g. hour).
* Raw Metric Data, which is still pre-processed using prefiltering rules and other filters/splits, and allows you to use our derived metrics.
* Raw Test Data, which is the underlying exact same data that the test clients on agents report back to us and we use to build other metrics.

### Aggregated Metric Data

1. Click the “Build with Aggregated Metric Data” button.
2. The following fields appear.

   ![](/files/BIxYniHKK552qBsA3riJ)
3. Select the chart settings you want to export. For more information about how to use each chart setting, see [Configuring Charts](https://docs.thousandeyes.com/product-documentation/connected-devices/usage-guides/configuring-charts).
4. Click **Download** to download a CSV in your browser, or, click **Generate** to generate a cURL or JSON API request example on the right that can be run in a terminal or used in internal automated processes and scripts within your organization.

   * When generating a request example, you must type or paste in the API token required for the API. See [Accessing Your APIs](https://docs.thousandeyes.com/product-documentation/connected-devices/usage-guides/accessing-your-apis) for more information.

   ![](/files/SU9YIgNwMJS1nXwrBufk)

### Raw Metric Data

1. Select the “Build with Raw Metric Data” button.
2. The following fields appear.

   ![](/files/EMTM91eBaVNZmjgVIDQF)
3. Select the chart settings you want to export. For more information about what each chart setting means, see [Configuring Charts](https://docs.thousandeyes.com/product-documentation/connected-devices/usage-guides/configuring-charts).
4. Click **Download** to download a CSV in your browser, or click **Generate** to generate a cURL or JSON API request example on the right that can be run in a terminal or used in internal automated processes and scripts within your organization.

   * When generating a request example, you must type or paste in the API token required for the API. See [Accessing Your APIs](https://docs.thousandeyes.com/product-documentation/connected-devices/usage-guides/accessing-your-apis) for more information.

   ![](/files/vss82tSNqIkoYYPV347e)

### Raw Test Data

1. Select the “Build with Raw Test Data” button.
2. The following fields appear.

   ![](/files/MtLISVSoIO2TsIXXX6RO)
3. Select the chart settings you want to export. For more information about what each chart setting means, see [Configuring Charts](https://docs.thousandeyes.com/product-documentation/connected-devices/usage-guides/configuring-charts).
4. Click **Download** to download a CSV in your browser, or click **Generate** to generate a cURL or JSON API request example on the right that can be run in a terminal or used in internal automated processes and scripts within your organization.

   * When generating a request example, you must type or paste in the API token required for the API. See [Accessing Your APIs](https://docs.thousandeyes.com/product-documentation/connected-devices/usage-guides/accessing-your-apis) for more information.

   ![](/files/3bxBrrciCUEt1wo6D4GT)
