---
title: "List the files currently served by a live site"
method: GET
path: "/sites/{id}/files"
tags: ["Sites"]
---

# List the files currently served by a live site

`GET /sites/{id}/files`

## Request

- Base URL: `https://api.nippy.host`
- URL: `https://api.nippy.host/sites/{id}/files`
- Auth: `bearer` (a scheme the document does not define)

## Path parameters

- `id` string, required

## Response `200`

- APISiteFilesResponse
  - `files` APISiteFile[], required
    - `path` string, required: Relative path within the site
    - `size` number, required: File size in bytes

## Other responses

- `401`: Not authenticated
- `403`: You do not own this site
- `404`: Site not found
- `409`: Site is not live

---

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