> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Template V1

> Single template detail. Returns the same fields as GET /templates plus the defaults blob, so callers can inspect what params will be auto-merged before they…

Single template detail.

Returns the same fields as `GET /templates` plus the `defaults` blob,
so callers can inspect what params will be auto-merged before they
send a `/trigger`. Built-in lookups always succeed; tenant lookups
404 if the template doesn't belong to the calling tenant.

### Path parameters

<ParamField path="name" type="string" required />

### Response

`TemplateDetail`

<ResponseField name="name" type="string" required />

<ResponseField name="kind" type="string" required />

<ResponseField name="description" type="string,null" />

<ResponseField name="defaults" type="object">
  Default `params` merged into every trigger that targets this template. Empty for built-ins.
</ResponseField>

### Status codes

| Code  | Meaning             |
| ----- | ------------------- |
| `200` | Successful Response |
| `422` | Validation Error    |

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.computer.stateset.app/api/v1/templates/{name}' \
    --header 'X-API-Key: YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "name": "Two-Person Tent",
    "kind": "builtin",
    "description": "Two-person tent, green — replacement for damaged pole set.",
    "defaults": {}
  }
  ```
</ResponseExample>
