---
title: "Fetch a rendered file, a preview or a stored asset"
method: GET
path: "/files/{path}"
---

# Fetch a rendered file, a preview or a stored asset

`GET /files/{path}`

## Request

- Base URL: `https://rendry.io/api/v1`
- URL: `https://rendry.io/api/v1/files/{path}`
- Auth: one of:
  - none
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Every result, preview and asset URL passes through this API proxy. Historical render/template-preview links are public. New paid document attempt keys require the authenticated owning account, match its current completed attempt and are private/no-store; obsolete shared or attempt keys are refused. User assets require their owner or the renderer internal token. ?dl=<name> sets the download file name.

## Path parameters

- `path` string, required

## Query parameters

- `dl` string

## Headers

- `X-End-User` string
- `X-Rendry-Account` string

## Response `200`

The file (image/*, application/pdf or text/html)

## Other responses

- `400`: Not a valid file key
- `401`: A user asset asked for without the owner's key or session (`authentication required for user assets`)
- `403`: A user asset of another account (`access denied`)
- `404`: No such file

---

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