---
title: "Get Named File"
method: GET
path: "/api/v1/files/{download_name}"
tags: ["files"]
---

# Get Named File

`GET /api/v1/files/{download_name}`

Stream a token-referenced R2 object, named by the path segment.

``download_name`` is the trailing URL path segment. It is **only** a
cosmetic hint so the browser names the download/inline-view correctly
(Chrome's PDF viewer reads the filename from the path); the signed
``t`` token is the sole authority for which object is served.

## Path parameters

- `download_name` string, required

## Query parameters

- `t` string, required — HMAC-signed file-download token.
- `disposition` string — 'inline' (default) or 'attachment' to force a download.

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/prototyping/apis/prototyping-io-api.md) · [All operations](https://skmtc.dev/prototyping/apis/prototyping-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/prototyping/prototyping-io-api/revisions/f4a0079fbb57/schema)
