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

# Get File

`GET /api/v1/files`

Stream a token-referenced R2 object (no filename in the path).

Used for viewer assets — GLB models, thumbnails — that are loaded by
``<img>`` / ``GLTFLoader`` and never "downloaded" by name.

## Query parameters

- `t` string, required — HMAC-signed file-download token.
- `filename` string, nullable — Legacy filename hint (path-segment form is preferred).
- `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)
