---
title: "GET /files/{fileID}"
method: GET
path: "/files/{fileID}"
tags: ["file"]
---

# GET /files/{fileID}

`GET /files/{fileID}`

指定したファイルの中身を取得します。

## Query parameters

- `dl` integer

## Response `200`

正常に取得できました。
fileのbinaryを返します。
application/octet-streamで返すことになっていますが、ファイルの形式によっては変わります。

## Other responses

- `403` — 取得できませんでした。指定されたファイルにアクセスする権限がありません。
- `404` — 取得できませんでした。指定されたファイルは存在しません。

---

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