Skip to content
You're viewing the v2 docs. Looking for v1?Go to v1 docs
Docs
Testsigma
Popular questions
↑↓ to navigate↵ to selectesc to close
Book a demo

Download a generated report

GET/reports/download/{report_id}
Base URL https://app.testsigma.com/api/v1Region

Download 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 →
report_idThe 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?