Layerbeat

Get a template

GET
/v1/templates/{id}

Returns one template with its README: what it installs, where its data lives and how to reach it.

Access: Public. No authentication required.

Path Parameters

id*string

Template ID, for example supabase.

Response Body

The template

application/json
  1. response
id*string
name*string
version*string
summary*string
logo*string

The project's logo, served by Layerbeat (SVG or PNG).

kind*string

service keeps a program running (its health check asks whether it is up), shown as Running when ready; tool installs a program you run yourself, shown as Installed.

Value in"service""tool"
category*string
os*array<string>
min_ram_mb*integer
min_disk_gb*integer
requires*array<string>
ports*array<>
inputs*array<>
scripts*

The template's scripts, as reviewed by Layerbeat.

readme*string

Markdown.

curl -X GET 'https://layerbeat.com/v1/templates/supabase'
{  "id": "docker",  "name": "Docker",  "version": "1.0.0",  "summary": "Docker Engine and Docker Compose from Docker's official packages.",  "kind": "service",  "category": "Developer tools",  "logo": "/app/template-logos/docker",  "os": [    "apt"  ],  "min_ram_mb": 1024,  "min_disk_gb": 20,  "requires": [],  "ports": [],  "inputs": [],  "readme": "# Docker\n\nInstalls Docker Engine and the Docker Compose plugin.",  "scripts": {    "install": "lb_apt update\n...\nlb_ok",    "health": "systemctl is-active --quiet docker || lb_fail not_running\nlb_ok",    "remove": "lb_ok"  }}