Data Extract API
You can download Enterprise Reporting data from Cloud using the Cypress Cloud API. The API returns the data in file formats that drop into your BI reporting platform, as well as a JSON file that you can parse programmatically. This API returns your test data at a variety of levels, including all the way down to the individual test result data which includes status, error messages, runs tags and groups, Test Replay links, and much more.
You can retrieve all of the data that is viewable in Enterprise Reporting using this API.
Premium Cypress Cloud Feature
Data extract API is available to users with an Enterprise Cypress Cloud plan.
Overview of the API​
You access the reporting data with an organization API key. Your Cypress Cloud plan must include the Data Extract API. If it doesn't, Request trial from the Data Extract API section of the Integrations page.
A couple of things to note:
- Data shown in Enterprise Reporting is not real-time. For aggregated data it is available as of midnight UTC of the current day. I.e. - data is populated through "end of day yesterday". However, individual result data is near real-time and is available 30 minutes after the run has completed. The sections below specify the endpoints that return near real-time data.
- Historical data is available as specified by your data retention limit in Cypress Cloud.
Generate a key​
Each organization has one Data Extract API key at a time. Organization owners and admins manage it from the Data Extract API section of the Integrations page in Cypress Cloud.

If your organization has no key yet, select Generate API key. Cypress Cloud shows the key once. Copy it and store it somewhere safe, because you can't view it again after you close the dialog. Afterward, the Integrations page shows only the start of the key and the date it was issued.
Regenerate a key​
Select Regenerate to replace the current key. The current key stops working immediately, and Cypress Cloud asks you to confirm first. Update every script, BI connection, or scheduled job that uses the old key with the new one.
An organization can't have more than one active key, so you can't keep the old key running while you switch over to a new one.
API endpoint details​
Use the following API endpoint. Substitute your assigned API key
where indicated by the YOUR-API-KEY placeholder text. The report_id specifies
the type of data to retrieve.
The following query parameters are available for use:
-
start_date. Required. Pass it in either yyyy-MM-dd or yyyy-MM-ddTHH:mm:ss format.
For example, to request a start date of January 1, 2025, use:
?start_date=2025-01-01. To request a start date of 12:30p UTC on that day, use:?start_date=2025-01-01T12%3A30%3A00 -
end_date. Optional. Pass it in either yyyy-MM-dd or yyyy-MM-ddTHH:mm:ss format. If you don't specify an end date, the query defaults to today.
For example, to request an end date of start of day March 1, 2025, use:
?end_date=2025-03-01. To request an end date of 12:30p UTC on that day, use:?end_date=2025-03-01T12%3A30%3A00 -
projects. Optional, and accepts the name of your Cypress project. URL encode the project name. You can pass as many projects parameters as needed.
For example, to request that the data be filtered for projects Project e2e and Phoenix, use:
&projects=Project%20e2e&projects=Phoenix -
branch. Optional, and accepts the name of your commit branch. URL encode the branch name. You can pass as many branch parameters as needed.
For example, to request that the data be filtered for branches develop and commitBranch1, use:
&branch=develop&branch=commitBranch1 -
export_format. Specify the type of data format returned in the response file. Valid options include:
csv,json,xlsx.For example, to request that the data be returned in JSON format, use:
&export_format=json
Usage & projects​
Project list​
Retrieves a list of all projects in Cypress Cloud that have had tests recorded since the start_date. Cypress Cloud uses the returned ID in the URL for project level analytics, and the ID can be helpful to generate direct links to Cypress Cloud project analytics for a given project.
The report_id is: project-list
Data returned includes:
- project_name
- id
Tests per project​
This data helps you understand which projects in your organization are using the most or least tests. The report returns data in a simple summary per project.
The report_id is: usage-per-project-summary
Data returned includes:
- project_name
- test_run_count
Tests per project over time​
This data helps you understand which projects in your organization are using the most or least tests and how that usage looks over time.
The report_id is: usage-per-project-over-time
Data returned includes:
- project_name
- test_run_count
- week
- day
Cypress test types​
This data helps you to grow and manage your Cypress test suite by understanding how you are adopting end-to-end and component testing in your organization.
The report_id is: cypress-test-types
Data returned includes:
- testing_type (e2e or component)
- total_tests
- total_e2e
- total_ct
- week
- day
Cypress test suite size​
This data helps you to understand and manage the growth of your test suite size across all projects in your organization. The report calculates the average number of test cases executed per run and excludes runs that errored or timed out since they don't accurately represent the size of your test suite.
The report_id is: test-suite-size-summary
Data returned includes:
- total_tests
- total_e2e
- total_ct
- week
Cypress test suite over time​
This data helps you to understand and manage the growth of your test suite size across all projects in your organization. The report calculates the average number of test cases executed per run and excludes runs that errored or timed out since they don't accurately represent the size of your test suite. The report shows this data over time.
The report_id is: test-suite-size-over-time
Data returned includes:
- project_name
- total_tests
- total_e2e
- total_ct
- week
Project test count and status​
This data provides consolidated run status at the project level. The report accumulates data from the status of each individual test result. The report shows this data over time.
The report_id is: status-per-test-daily
Data returned includes:
- project_name
- status
- test_run_count
- week
- day
Run status​
Status by run​
This data helps you understand the success and failure rates at the run level. If any part of the run fails, then the entire run fails.
The report_id is: status-per-build-summary
Data returned includes:
- status
- test_run_count
Status by run over time​
This data helps you understand the success and failure rates at the run level. If any part of the run fails, then the entire run fails. The report shows the data over time.
The report_id is: status-per-build-over-time
Data returned includes:
- status
- test_run_count
- week
- day
Status by spec​
This data helps you understand the success and failure rates at the spec level. If any part of the spec fails, then the entire spec fails.
The report_id is: status-per-spec-summary
Data returned includes:
- status
- test_run_count
Status by spec over time​
This data helps you understand the success and failure rates at the spec level. If any part of the spec fails, then the entire spec fails. The report shows the data over time.
The report_id is: status-per-spec-over-time
Data returned includes:
- status
- test_run_count
- week
- day
Status by test run​
This data helps you understand the success and failure rates at the individual test level.
The report_id is: status-per-test-summary
Data returned includes:
- failed
- passed
Status by test run over time​
This data helps you understand the success and failure rates at the individual test level. The report shows the data over time.
The report_id is: status-per-test-over-time
Data returned includes:
- project_name
- test_run_count
- week
- status
Versions & browsers​
Cypress run versions​
This data helps you monitor and track which versions of the Cypress app your organization uses.
The report_id is: cypress-build-versions-summary
Data returned includes:
- run_count
- cypress_version
Cypress run versions over time​
This data helps you monitor and track which versions of the Cypress app your organization uses. The report shows this data over time.
The report_id is: cypress-build-versions-over-time
Data returned includes:
- run_count
- cypress_version
- week
Cypress run versions per project over time​
This data helps you monitor and track which versions of the Cypress app your organization uses. The report shows the versions at the project level. The report shows this data over time.
The report_id is: cypress-build-versions-per-project-over-time
Data returned includes:
- project_name
- run_count
- cypress_version
- week
Browsers tested​
This data helps you monitor and track which web browsers your organization runs tests in.
The report_id is: browsers-tested
Data returned includes:
- spec_count
- browser
Browser versions tested​
This data helps you monitor and track which web browsers and specific versions your organization runs tests in.
The report_id is: browser-versions
Data returned includes:
- spec_count
- browser
- version
Browser versions tested over time​
This data helps you monitor and track which web browsers and specific versions your organization runs tests in. The report shows this data over time.
The report_id is: browser-versions-over-time
Data returned includes:
- spec_count
- browser
- version
- day
- week
Browser versions tested per project over time​
This data about browser versions goes a step deeper and helps you monitor and track which web browsers and specific versions your specific projects run tests in. The report shows this data over time.
The report_id is: browser-versions-per-project-over-time
Data returned includes:
- project_name
- spec_count
- browser
- version
- day
- week
Test-level data​
All data for these APIs is available near real-time, 30 minutes after the run has completed.
Individual spec results​
This data covers all spec results regardless of spec result status. The maximum number of records returned is 500,000. Make multiple requests with different start_date and end_date parameter values if your volume of records exceeds 500k for a single request.
Data is available near real-time, 30 minutes after the run has completed.
The report_id is: spec-details
Data returned includes:
- project_name
- created_at (date and time)
- run_number
- commit_author_name
- spec (path and filename)
- status
- total_tests
- pass_tests
- flaky_tests
- fail_tests
- parallel_enabled
- commit_branch
- group_name
- failed_spec_prioritized
- spec_duration (milliseconds)
- browser_name
- browser_version
- os_name
- os_version
Individual failed test results​
This report extracts all test result details for failed tests. The maximum number of records returned is 500,000. Make multiple requests with different start_date and end_date parameter values if your volume of records exceeds 500k for a single request.
Data is available near real-time, 30 minutes after the run has completed.
The report_id is: failed-test-details
Data returned includes:
- project_name
- created_at (date and time)
- run_number
- commit_author_name
- commit_branch
- commit_sha
- ci_build_id
- status
- group_name
- run_tags (string array)
- error_name (string array)
- error_message (string array)
- test_replay_url
- spec (path and filename)
- test_name (the test name matches what Cypress Cloud shows, with a '///' delimiter between fragments of the test name)
Individual test results​
This report extracts all test result details regardless of test result status. The maximum number of records returned is 500,000. Make multiple requests with different start_date and end_date parameter values if your volume of records exceeds 500k for a single request.
Data is available near real-time, 30 minutes after the run has completed.
The report_id is: test-details
Data returned includes:
- project_name
- created_at (date and time)
- run_number
- commit_author_name
- commit_branch
- commit_sha
- ci_build_id
- status
- group_name
- run_tags (string array)
- test_duration
- error_name (string array)
- error_message (string array)
- test_replay_url
- spec (path and filename)
- test_name (the test name matches what Cypress Cloud shows, with a '///' delimiter between fragments of the test name)
Run duration​
Average run duration over time​
This report returns the average, median, min, and max durations of passing runs. The report shows this data over time.
The report_id is: average-passing-build-duration
Data returned includes:
- project_name
- run_count
- avg_pass_run_duration (average)
- mdn_pass_run_duration (median)
- min_pass_run_duration (min)
- max_pass_run_duration (max)
- day
- week
Average spec duration over time​
This report returns the average, median, min, and max durations of specs. The report shows this data over time. The maximum number of records returned is 500,000. Make multiple requests with different start_date and end_date parameter values if your volume of records exceeds 500k for a single request.
The report_id is: average-passing-spec-duration
Data returned includes:
- project_name
- spec (path and filename)
- spec_count
- avg_pass_spec_duration (average)
- mdn_pass_spec_duration (median)
- min_pass_spec_duration (min)
- max_pass_spec_duration (max)
- day
- week
Flaky​
Test flake detail over time​
This data helps you identify where flake is occurring in your organization and how that changes over time.
The report_id is: flake-per-project-over-time
Data returned includes:
- project_name
- flaky_test_count
- week
- day
Flaky rate per project​
This report shows the flaky rate occurring in your projects, not just the count of flaky tests. Sometimes a test has a high flake count simply because it runs very frequently, but the % of flake could be lower than in other tests that run less often. The report calculates the flaky rate per project for the requested time period and shows it as a whole number. For example: 1 flaky test over 4 runs has a flaky rate of 25.
The report_id is: flake-rate-per-project
Data returned includes:
- project_name
- flaky_test_count
- pass_test_count
- flaky_rate
Flaky rate per project over time​
This report shows the flaky rate occurring in your projects, not just the count of flaky tests. Sometimes a test has a high flake count simply because it runs very frequently, but the % of flake could be lower than in other tests that run less often. The report calculates the flaky rate per project for the requested time period and shows it as a whole number. For example: 1 flaky test over 4 runs has a flaky rate of 25.
The report_id is: flake-rate-per-project-over-time
Data returned includes:
- project_name
- flaky_test_count
- pass_test_count
- flaky_rate
- day
- week
Flaky test details​
This report extracts all test result details of flaky tests. The maximum number of records returned is 500,000. Make multiple requests with different start_date and end_date parameter values if your volume of records exceeds 500k for a single request.
Data is available near real-time, 30 minutes after the run has completed.
The report_id is: flaky-test-details
Data returned includes:
- project_name
- created_at (date and time)
- run_number
- commit_author_name
- commit_branch
- commit_sha
- ci_build_id
- status
- group_name
- run_tags (string array)
- error_name (string array)
- error_message (string array)
- test_replay_url
Top flaky tests per project​
This report identifies which tests have the highest flaky count and provides a URL to an example of a recent occurrence of this flake. The URL takes teams directly to Cypress Cloud for troubleshooting using test replay.
The report_id is: top-flaky-per-project
Data returned includes:
- project_name
- flaky_count
- spec (path and filename)
- test_replay_url
Aggregated data​
Top failures per project​
This report identifies which tests have the highest number of failures and provides a URL to an example of a recent occurrence of this failure. The URL takes teams directly to Cypress Cloud and the full context surrounding the failure. The report shows fail rate as a whole number. For example: 1 failed test over 4 runs has a fail rate of 25.
The report_id is: top-failures-per-project
Data returned includes:
- project_name
- cnt_passed
- cnt_failed
- cnt_total
- fail_rate
- spec (path and filename)
- test_replay_url
Top errors per project​
This report identifies which tests have the highest number of errors and provides a URL to an example of a recent occurrence of this error. The report groups data by the error type and the error message. The URL takes teams directly to Cypress Cloud and the full context surrounding the failure.
The report_id is: top-errors-per-project
Data returned includes:
- project_name
- test_result_uuid (the unique ID of the test in Cypress Cloud that can provide a direct URL to the test)
- error_type
- error_message
- error_count
- test_replay_url
UI Coverage​
Learn more about Cypress UI Coverage.
UI Coverage per project​
This data helps you understand which projects in your organization have the highest or lowest UI Coverage %. The report returns data in a simple summary per project.
The report_id is: ui-coverage-per-project-summary
Data returned includes:
- project_name
- ui_coverage_pct
UI Coverage per project over time​
This data helps you understand which projects in your organization have the highest or lowest UI Coverage % and how those measurements look over time.
The report_id is: ui-coverage-per-project-over-time
Data returned includes:
- project_name
- ui_coverage_pct
- week
- day
UI Coverage details​
This report extracts the UI Coverage % for each run along with other attributes of the run. The maximum number of records returned is 500,000. Make multiple requests with different start_date and end_date parameter values if your volume of records exceeds 500k for a single request.
The report_id is: ui-coverage-details
Data returned includes:
- project_name
- created_at (date and time)
- run_number
- status
- ui_coverage_pct
- commit_author_name
- commit_branch
- ci_build_id
- run_tags (string array)
Cypress Accessibility​
Learn more about Cypress Accessibility.
Accessibility score per project​
This data helps you understand which projects in your organization have the highest or lowest Accessibility scores. The report returns data in a simple summary per project.
The report_id is: accessibility-per-project-summary
Data returned includes:
- project_name
- accessibility_score
Accessibility score per project over time​
This data helps you understand which projects in your organization have the highest or lowest Accessibility scores and how those scores looks over time.
The report_id is: accessibility-per-project-over-time
Data returned includes:
- project_name
- accessibility_score
- week
- day
Accessibility score details​
This report extracts Cypress Accessibility scores for each run along with other attributes of the run. The maximum number of records returned is 500,000. Make multiple requests with different start_date and end_date parameter values if your volume of records exceeds 500k for a single request.
The report_id is: accessibility-details
Data returned includes:
- project_name
- created_at (date and time)
- run_number
- status
- accessibility_score
- commit_author_name
- commit_branch
- ci_build_id
- run_tags (string array)