---
title: "Refresh App Template from Repo"
method: GET
path: "/api/clusters/{clusterName}/actions/refresh-apps-template"
tags: ["Apps"]
---

# Refresh App Template from Repo

`GET /api/clusters/{clusterName}/actions/refresh-apps-template`

Retrieves the tree structure of the application template repository for a specific cluster.

## Path parameters

- `clusterName` string, required

## Headers

- `Authorization` string, required

## Response `200`

Application template repository tree structure

- TreehelperFileTreeCache
  - `isCached` boolean
  - `lastUpdate` string
  - `layers` string[]
  - `reference` string
  - `tree` TreehelperFileEntry
    - `children` TreehelperFileEntry[]
    - `id` string — Unique identifier for the file entry
    - `name` string
    - `path` string
    - `type` string — "file" or "symlink" or "directory"
  - `truncated` boolean — true when file count exceeded the limit

## Other responses

- `403` — No valid ACL
- `500` — Error getting repository tree" or "No cluster

---

[API](https://skmtc.net/signal18/apis/untitled-api.md) · [All operations](https://skmtc.net/signal18/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/signal18/untitled-api/versions/7465ea0ee21a/schema)
