---
title: "# Download Simulation Result Report"
method: GET
path: "/v2/simulations/{Id}/results/reports/{ReportId}/download"
tags: ["Simulation-Result-Reports"]
---

# # Download Simulation Result Report

`GET /v2/simulations/{Id}/results/reports/{ReportId}/download`

## Request

- Base URL: `https://api.picussecurity.com`
- URL: `https://api.picussecurity.com/v2/simulations/{Id}/results/reports/{ReportId}/download`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/picussecurity/apis/picus-rest-api/docs/v2/simulations/:Id/results/reports/:ReportId/download/get.ts> (a function with typed inputs; its response is checked against the schema)

Downloads a simulation result report file by id.
This endpoint is used in on-prem deployments where users cannot access S3 directly.
The file is returned as binary content with appropriate Content-Disposition header.

## Path parameters

- `ReportId` integer, required
- `Id` integer, required

## Response `200`

A file download response

- integer[]

## Other responses

- `401`: unauthorizedErrorSwagger is represents unauthorized error
- `404`: notFoundErrorSwagger represents not found error
- `500`: internalServerErrorSwagger represents internal server error
- `default`: genericErrorSwagger is represents the erroneous cases

---

[API](https://skmtc.dev/picussecurity/apis/picus-rest-api.md) - [All operations](https://skmtc.dev/picussecurity/apis/picus-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/picussecurity/apis/picus-rest-api/revisions/da387004d99b?raw)
