---
title: "Download File"
method: GET
path: "/files/download"
tags: ["runtime_mutations", "files"]
---

# Download File

`GET /files/download`

Download a single workspace file as an attachment.

``session_id`` selects an isolated run's own prefix when given (used by the
``--cloud`` copy-back); absent, the download serves the shared workspace.
An absolute ``path`` under one of the session's declared data mounts is
served from the mount's dataset prefix instead (pre-attach reads).

## Query parameters

- `path` string, required
- `session_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/quadrillion/apis/quadrillion-cloud-api.md) · [All operations](https://skmtc.net/quadrillion/apis/quadrillion-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quadrillion/quadrillion-cloud-api/revisions/e99c1b6139c8/schema)
