Ethiack Docs
Pentests

Download a pentest report

GET
/v1/pentests/{pentest_slug}/reports/{report_id}/download

Redirect to a time-limited signed URL for a pentest's report.

The signed URL is minted per call and never persisted, so the redirect is the response rather than a body carrying the link. Limited to organization and partner integrators authorized for the pentest.

A report still being generated answers 202 and the caller polls; one whose generation failed answers 400.

The pending body omits the null success key that the unnested /v1/reports download includes. The two have always differed there, and a caller reading the key on one would break if it were dropped to match the other.

AuthorizationBearer <token>

An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.

In: header

Path Parameters

pentest_slug*string
report_id*integer

Response Body

application/json

application/json

curl -X GET "https://api.ethiack.com/v1/pentests/string/reports/0/download"
{
  "id": 0,
  "code": 202,
  "description": "Report not yet available.",
  "success": true
}
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}