---
title: "Proxy Media"
method: GET
path: "/api/v1/media/proxy"
tags: ["media"]
---

# Proxy Media

`GET /api/v1/media/proxy`

## Request

- Base URL: `https://api.slidemaster.tw` (the document declares no server; this is the origin it was published from)
- URL: `https://api.slidemaster.tw/api/v1/media/proxy`
- Auth: none declared

媒體代理端點
當無法生成 Signed URL 時（例如本地開發環境權限不足），由此端點代理轉發 GCS 檔案內容。

## Query parameters

- `path` string, required: GCS file path
- `preview` boolean: Return a cached display thumbnail for image previews
- `bucket` string, nullable: Allowed GCS bucket override
- `download_filename` string, nullable: Filename for attachment downloads

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api.md) · [All operations](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api/revisions/a964c005977e?raw)
