---
title: "Download report"
method: GET
path: "/api/scans/{scan_id}/report/{format}"
tags: ["reports"]
---

# Download report

`GET /api/scans/{scan_id}/report/{format}`

Download the scan report in the specified format.

## Path parameters

- `scan_id` integer, required
- `format` 'html' | 'json' | 'markdown', required

## Response `200`

Report file

- object

## Other responses

- `400` — Invalid format
- `404` — Scan or report not found

---

[API](https://skmtc.dev/bugtraceai/apis/bugtraceai-cli-api.md) · [All operations](https://skmtc.dev/bugtraceai/apis/bugtraceai-cli-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bugtraceai/bugtraceai-cli-api/revisions/312bfc1148dc/schema)
