---
title: Export Test Runs
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Test Optimization in Datadog > Test Optimization Explorer > Export Test
  Runs
---

# Export Test Runs

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site). ().
{% /alert %}

{% /callout %}

## Overview{% #overview %}

You can use your Test Optimization search query and visualization graphs in dashboards, monitors, and notebooks, or programmatically search for events using the [Search Tests Events endpoint](https://docs.datadoghq.com/api/latest/ci-visibility-tests/#search-tests-events).

## Export the search query or visualization{% #export-the-search-query-or-visualization %}

You can copy, export, or download your aggregated search query and visualization graphs in the [Test Optimization Explorer](https://app.datadoghq.com/ci/test-runs).

{% image
   source="https://datadog-docs.imgix.net/images/tests/explorer/export_updated.caf50888cf5d9e565b98d8553b2dee54.png?auto=format"
   alt="" /%}

Click the **Export** button on the right hand corner and select an option from the dropdown menu:

- Share your [saved view](https://docs.datadoghq.com/tests/explorer/saved_views/) of the [Test Optimization Explorer](https://docs.datadoghq.com/tests/explorer/).
- Export your search results to a [CI Test monitor](https://docs.datadoghq.com/monitors/types/ci/) that triggers alerts on predefined thresholds.
- Export your search results to an [existing notebook](https://docs.datadoghq.com/notebooks/) for reporting or consolidation purposes.
- Download your search results as a CSV file for individual CI Visibility test events and specific aggregations.
- Export your search results to [DDSQL Editor](https://docs.datadoghq.com/ddsql_editor) for complex aggregations and custom analysis.

Options available for some visualization types are not supported in others. For example, you cannot download a distribution graph into a CSV file.

## Further reading{% #further-reading %}

- [Search for your tests](https://docs.datadoghq.com/tests/explorer/)
- [Learn about Saved Views](https://docs.datadoghq.com/tests/explorer/saved_views/)
- [Learn about CI Test Monitors](https://docs.datadoghq.com/monitors/types/ci/)
