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

# poly template

> Reference for the `poly template` command.

Browse and load example project templates. `poly template` requires a subcommand:

Examples:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
poly template list
poly template load restaurant-booking
```

## `poly template list`

List the example templates available for a region.

Examples:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
poly template list
poly template list --region us
```

| Flag | Description |
| - | - |
| `--region` | Region to query for templates. Defaults to the current project's region. One of `us`, `eu`, `uk`, `studio` — see [Regions](https://docs.poly.ai/adk/reference/cli.md#regions). |

`--json` output shape:

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "success": true,
  "templates": []
}
```

## `poly template load`

Load a template into the current project. Omit the name to get an interactive picker.

Examples:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
poly template load
poly template load restaurant-booking
poly template load restaurant-booking --force
```

| Argument | Description |
| - | - |
| `template_name` | Name of the template to load. If omitted, an interactive picker is shown. |

| Flag | Description |
| - | - |
| `--region` | Region to load the template from. Defaults to the current project's region. One of `us`, `eu`, `uk`, `studio` — see [Regions](https://docs.poly.ai/adk/reference/cli.md#regions). |
| `--force`, `-f` | Skip the confirmation prompt. |

> [!NOTE]
>
> **`--json` requires `template_name`**
>
> The interactive picker isn't available with `--json`. Omitting `template_name` fails with an error instead of prompting.

> [!WARNING]
>
> **Loading a template overwrites local resources**
>
> `poly template load` replaces your local project resources with the template contents. Push or back up any local work you want to keep before loading.

Template resources are written to disk without updating the tracked state, so the loaded change will appear as changes to your project and will need to be pushed up to affect the remote state.

`poly project create` offers to load a template once a new project exists, so you do not need to run this separately when starting from scratch.

`--json` output shape:

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "success": true,
  "template": "restaurant-booking"
}
```
