---
title: "Get an uploaded file by stored filename"
method: GET
path: "/api/v1/files/content"
tags: ["Files"]
---

# Get an uploaded file by stored filename

`GET /api/v1/files/content`

**Required scope:** `file`

## Query parameters

- `filename` string, required

## Response `200`

File bytes or an error envelope

## Changes

- **2026-06-18** `0d76e116afe5` — 1 info
  - endpoint added
- **2026-06-16** `9832b5ec01b5` — 1 breaking
  - api path removed without deprecation
- **2026-06-14** `6b73b947caab` — 1 info
  - endpoint added
- **2026-03-09** `3d43cee2622a` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/astrbotdevs/apis/astrbot-openapi-v1/changes/api/v1/files/content/get.md)

---

[API](https://skmtc.dev/astrbotdevs/apis/astrbot-openapi-v1.md) · [All operations](https://skmtc.dev/astrbotdevs/apis/astrbot-openapi-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/astrbotdevs/astrbot-openapi-v1/revisions/9f8da1b16ca0/schema)
