---
title: "Downloads a file as it is, however large"
method: GET
path: "/lambdas/{privateKey}/files/{path}/content"
tags: ["Workspace"]
---

# Downloads a file as it is, however large

`GET /lambdas/{privateKey}/files/{path}/content`

## Request

- Base URL: `https://genhttp.dev/api/v1`
- URL: `https://genhttp.dev/api/v1/lambdas/{privateKey}/files/{path}/content`
- Auth: none declared

Always sent as bytes to save, whatever the name of the file says, so a page somebody uploaded never runs on this site.

## Path parameters

- `privateKey` string, required
- `path` string, required

## Response `200`

The bytes of the file

## Other responses

- `404`: No lambda has this editor key, or there is no such file.

---

[API](https://skmtc.dev/genhttp/apis/genhttp-lambda-api.md) · [All operations](https://skmtc.dev/genhttp/apis/genhttp-lambda-api/llms.txt) · [OpenAPI document](https://skmtc.dev/genhttp/apis/genhttp-lambda-api/revisions/8b36699e03df?raw)
