---
title: "Download one file"
method: GET
path: "/api/jobs/{job_id}/download/{filename}"
tags: ["Jobs and downloads"]
---

# Download one file

`GET /api/jobs/{job_id}/download/{filename}`

## Request

- Base URL: `https://epw.tools`
- URL: `https://epw.tools/api/jobs/{job_id}/download/{filename}`
- Auth: API key in header `X-API-Key`

Downloads one output file, using a name from the job's `result`. Send the key in the `X-API-Key` header, never in the URL. Files are kept for 7 days.

## Path parameters

- `job_id` string, required
- `filename` string, required

## Query parameters

- `key` string, nullable

## Headers

- `X-API-Key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `402`: Insufficient credits for this operation.
- `422`: Validation Error
- `429`: Rate limit exceeded — retry after a short delay.

---

[API](https://skmtc.dev/epw/apis/epw-tools-api.md) · [All operations](https://skmtc.dev/epw/apis/epw-tools-api/llms.txt) · [OpenAPI document](https://skmtc.dev/epw/apis/epw-tools-api/revisions/e6b60fc7a6d7?raw)
