---
title: "previewS3FileGet"
method: GET
path: "/v1/files:previewS3"
tags: ["Preview"]
---

# previewS3FileGet

`GET /v1/files:previewS3`

Get a thumbnail preview from an S3 reference using query parameters.

This GET variant is useful for embedding previews directly in `<img>` tags.

## Query parameters

- `key` string, required
- `bucket` string, required
- `w` integer
- `h` integer

## Response `200`

Generated thumbnail image

## Other responses

- `400` — Invalid request parameters or payload
- `401` — Authentication required or invalid credentials
- `404` — The requested resource was not found
- `500` — An unexpected error occurred on the server

---

[API](https://skmtc.net/epilot/apis/file-api.md) · [All operations](https://skmtc.net/epilot/apis/file-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/epilot/file-api/revisions/4d61b97f1e97/schema)
