1. Manage tests
  • Authentication
    • Obtain access token
      POST
    • Generate magic link
      POST
  • Manage tests
    • Generate draft test
      POST
    • Run CCSTest
      POST
    • Get CCSTest result
      GET
    • Download PDF Report
      GET
    • Get PDF Report
      GET
  • Schemas
    • TestResponse
    • PatientReport
    • ApiResponse
API References
Guides
API References
Guides
  1. Manage tests

Download PDF Report

Developing
GET
/api/ccs/v1/tests/{id}/report/download
Generates and directly downloads a PDF report for a specific CCS test. This endpoint returns the PDF file directly with appropriate headers for browser download. Use this endpoint when you need direct file download functionality in web applications.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params

Query Params

Responses

🟢200Success
application/pdf
Binary PDF file stream. The filename follows the pattern CardioExplorer_Report_{id}N_{date}.pdf
🟠400Bad Request - Test has no results
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.cardioexplorer.ai/api/ccs/v1/tests//report/download?language=en' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
  "status": "error",
  "message": "Test has no results",
  "ccsTestId": "b4f1a1d4-0ef7-4f0e-9f34-2c3c5e4f6a10",
  "errors": [
    "Cannot generate report for a test without results. Please run the test first."
  ]
}
Previous
Get CCSTest result
Next
Get PDF Report
Built with