---
title: "Read the files of a private plugin"
method: GET
path: "/api/plugin_settings/{plugin_setting_id}/files"
tags: ["Plugin Settings"]
---

# Read the files of a private plugin

`GET /api/plugin_settings/{plugin_setting_id}/files`

## Request

- Base URL: `https://trmnl.com`
- URL: `https://trmnl.com/api/plugin_settings/{plugin_setting_id}/files`
- Auth: HTTP bearer

The archive downloadPluginSettingArchive zips, as text by filename: settings.yml and one .liquid per markup size. Any published recipe can be read; another author's recipe comes without its polling headers and body.

## Response `200`

Reads another author's published recipe without its secrets

- object
  - `data` object
    - `files` object

## Other responses

- `401`: Unauthorized
- `404`: Not the caller's and not a published recipe
- `422`: A plugin type that has no files

---

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