Skip to main content
GET
/
v1
/
templates
/
{id}
Get template details
curl --request GET \
  --url https://api.cnap.tech/v1/templates/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "j572abc123def456",
  "name": "PostgreSQL HA",
  "workspace_id": "j572abc123def456",
  "registry_proxy_mode": "auto",
  "created_at": 123,
  "helm_sources": [
    {
      "id": "j572abc123def456",
      "chart": {
        "repo_url": "https://charts.bitnami.com/bitnami",
        "target_revision": "15.5.0",
        "chart": "postgresql",
        "path": "charts/my-chart"
      },
      "values": {},
      "metadata": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Personal Access Token (cnap_pat_...) or OAuth2 JWT. Create tokens at https://dash.cnap.tech/account/tokens

Path Parameters

id
string
required

Template ID

Response

Template details

id
string
required
Example:

"j572abc123def456"

name
string
required
Example:

"PostgreSQL HA"

workspace_id
string
required
Example:

"j572abc123def456"

registry_proxy_mode
enum<string> | null
required
Available options:
auto,
always,
never,
null
Example:

"auto"

created_at
number
required

Unix timestamp (seconds)

helm_sources
object[]
required