Download a generated report
GET
/reports/download/{report_id}Base URL
https://app.testsigma.com/api/v1RegionDownload the artifact of a generated report by its report ID. Redirects to a short-lived download link.
Authenticate with your API key as a
Bearer token in the Authorization header. How to authenticate →Path parameters
report_id | The reportId returned by an export endpoint once its status reads SUCCESS. |
Request
curl -X GET \
'https://app.testsigma.com/api/v1/reports/download/{report_id}' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json'const response = await fetch('https://app.testsigma.com/api/v1/reports/download/{report_id}', {
method: 'GET',
headers: {
'Authorization': 'Bearer <API_KEY>',
'Content-Type': 'application/json'
}
});
const data = await response.json();import requests
response = requests.get(
'https://app.testsigma.com/api/v1/reports/download/{report_id}',
headers={
'Authorization': 'Bearer <API_KEY>',
'Content-Type': 'application/json'
}
)
data = response.json()Response302 Found
"Redirects to a short-lived link that serves the report file."Was this page helpful?
Thanks for the feedback.