# 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.

![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-f3aa515b0eef4a9ef3bd3f942ebdd65f5f7c4947%2Fconfiguring-charts_42.png?alt=media\&token=583289c8-9d6f-41ac-882f-b85accb0d323)

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.

   ![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-e70d541631a97ff82ad52733d220ac979726180f%2Fconfiguring-charts_43.png?alt=media\&token=214c32c6-f2eb-4512-9643-be417f828199)
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.

   ![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-e6b5c84c68b949b0a258ae9cfe64e809b3aadd15%2Fconfiguring-charts_44.png?alt=media\&token=625e32f8-683f-4cff-8859-ff4f0d724c44)

### Raw Metric Data

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

   ![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-5c76669b0c5d2bccb2cfd0a3b3effe18de1739e9%2Fconfiguring-charts_45.png?alt=media\&token=fe456454-3893-4e4e-af6e-86def2310878)
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.

   ![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-e0ac6678174ba58e3b615ff0ee4b16134f71bfed%2Fconfiguring-charts_46.png?alt=media\&token=4f005358-0fd4-4b5a-920f-cfbeee0b8eeb)

### Raw Test Data

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

   ![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-b99103682b57d952dfcd0b97cfb23ab8affe1dcc%2Fconfiguring-charts_47.png?alt=media\&token=8ee2a922-87ff-4f0b-b72c-d4ea71751bd6)
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.

   ![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-b34533b05a188e10530fe9a1b04246080395a6de%2Fconfiguring-charts_48.png?alt=media\&token=145a0c57-cc29-46ea-9da4-3d6838a89b57)
