Reports
Access pentest reports in markdown and PDF formats
/v1/scans/:scanId/reportGet pentest report
Retrieve the full penetration test report for a completed pentest. The report is returned as markdown content and includes an executive summary, methodology, detailed findings with evidence, and remediation recommendations. Returns 202 Accepted if the report is still being generated.
Path Parameters
| Name | Type | Description |
|---|---|---|
scanIdrequired | string | Pentest ID (UUIDv7) |
Example Request
curl -X GET "https://apviso.com/api/v1/scans/:scanId/report" \
-H "X-API-Key: apvk_your_key_here"Response
Returns the report row. If the scan is still active, returns 202 with `message` and `scanStatus`. Returns 404 if the report does not exist.
{
"report": {
"id": "019414cf-d5e6-7f8a-b9c0-1d2e3f4a5b6c",
"scanId": "019414c3-d5e6-7f8a-b9c0-1d2e3f4a5b6c",
"markdownContent": "# Penetration Test Report\\n\\n## Target: example.com\\n\\n## Executive Summary\\n\\nA comprehensive penetration test was conducted against example.com on May 3, 2026...",
"pdfUrl": null,
"createdAt": "2026-05-03T10:05:30Z"
}
}/v1/scans/:scanId/report/pdfGenerate PDF report
Generate a professionally formatted PDF report for a completed pentest. The PDF includes your organization branding, executive summary, vulnerability details with screenshots, and remediation guidance. Use the download endpoint to retrieve the file after this endpoint returns ready=true.
Path Parameters
| Name | Type | Description |
|---|---|---|
scanIdrequired | string | Pentest ID (UUIDv7) |
Example Request
curl -X POST "https://apviso.com/api/v1/scans/:scanId/report/pdf" \
-H "X-API-Key: apvk_your_key_here"Response
Generates and stores the PDF synchronously, then returns ready=true. Repeated calls return ready=true when the PDF already exists.
{
"ready": true
}/v1/scans/:scanId/report/pdf/downloadDownload PDF report
Download the generated PDF report file. Returns the binary PDF data with appropriate content-type headers. Returns 404 if no PDF has been generated for this pentest.
Path Parameters
| Name | Type | Description |
|---|---|---|
scanIdrequired | string | Pentest ID (UUIDv7) |
Example Request
curl -X GET "https://apviso.com/api/v1/scans/:scanId/report/pdf/download" \
-H "X-API-Key: apvk_your_key_here"Response
Returns the PDF file as binary data with `Content-Type: application/pdf`. Returns 404 if no PDF report exists for this pentest.
{
"description": "Binary PDF file returned with Content-Type: application/pdf and Content-Disposition: attachment; filename=\"apviso-report-example.com-2026-04-10.pdf\""
}