---
title: "Serve file content without authentication"
method: GET
path: "/api/cdn/files/{file_id}"
tags: ["Files"]
---

# Serve file content without authentication

`GET /api/cdn/files/{file_id}`

This endpoint is designed to be used to get file content without authentication.
It returns the file content with proper cache headers for public access.
The file content is streamed directly from S3 to minimize memory usage for large files.

# Errors
Returns an error if file not found or S3 operations fail.

## Path parameters

- `file_id` string, uuid, required

## Response `200`

Streaming file content with CDN-optimized headers

## Other responses

- `404` — CDN file not found
- `500` — CDN streaming error from storage backend

---

[API](https://skmtc.net/patroninc/apis/patron-api.md) · [All operations](https://skmtc.net/patroninc/apis/patron-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/patroninc/patron-api/versions/1583b1f4c97d/schema)
