---
title: "Get a report by ID"
method: GET
path: "/reports/{reportId}"
tags: ["reports"]
---

# Get a report by ID

`GET /reports/{reportId}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/reports/{reportId}`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

## Path parameters

- `reportId` integer, required

## Response `200`

Report details

- Report
  - `id` integer, required
  - `title` string, required
  - `templateId` integer, nullable
  - `status` 'draft' | 'under_review' | 'approved' | 'published' | 'archived', required
  - `generatedBy` integer, nullable
  - `parameters` object, nullable
  - `pdfUrl` string, nullable
  - `version` integer, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time

## Other responses

- `404`: Not Found

## Changes

- **2026-04-18** `518dcf68679a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/changes/reports/:reportId/get.md)

---

[API](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api.md) - [All operations](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/revisions/6ad730b13e59?raw)
