---
title: "Get attachment file"
method: GET
path: "/api/v1/file"
tags: ["Open API"]
---

# Get attachment file

`GET /api/v1/file`

Get an uploaded attachment file by attachment_id.

## Query parameters

- `attachment_id` string, required

## Response `200`

OK

## Other responses

- `401` — Unauthorized
- `403` — Forbidden

## Changes

- **2026-03-24** `a0e9b5a12d70` — 1 info
  - endpoint added
- **2026-03-09** `3d43cee2622a` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/astrbotdevs/apis/astrbot-openapi-v1/changes/api/v1/file/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/a0e9b5a12d70/schema)
