---
title: "Download the generated CSV for a completed report job."
method: GET
path: "/reports/jobs/{jobId}/download"
tags: ["reports"]
---

# Download the generated CSV for a completed report job.

`GET /reports/jobs/{jobId}/download`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/reports/jobs/{jobId}/download`
- Auth: none declared

Streams the generated CSV from the database for the specified job. The job must be in the `completed` state.

## Path parameters

- `jobId` string, uuid, required

## Response `200`

The generated CSV report.

## Other responses

- `401`: Authentication required or token invalid.
- `403`: Authenticated but not permitted to perform this action.
- `404`: The requested resource was not found.
- `409`: Conflict with the current state of the resource.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/hm-courts-and-tribunals-service/apis/applications-register-api.md) - [All operations](https://skmtc.dev/hm-courts-and-tribunals-service/apis/applications-register-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hm-courts-and-tribunals-service/apis/applications-register-api/revisions/36521cfe1ab7?raw)
