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

# Templates

> Preset block configurations for common workflows.

Templates are named presets that control which block types agents are allowed to create. Pass a `template` field in [`POST /v1/run`](/api-reference/endpoints/create-run).

| Template        | Block types                                            | Typical output       |
| --------------- | ------------------------------------------------------ | -------------------- |
| `auto`          | All 17 block types                                     | Depends on prompt    |
| `deep_research` | prompt, table, web, web-research, file, yt, memo, text | Research memo        |
| `report`        | prompt, table, web, yt, document, text                 | Report (.docx)       |
| `slides`        | prompt, table, web, yt, presentation, text             | Slide deck (.pptx)   |
| `memo`          | prompt, web, yt, memo, text                            | Memo (.docx)         |
| `excel`         | prompt, table, web, yt, excel, text                    | Spreadsheet (.xlsx)  |
| `app`           | prompt, app, text                                      | Web app (.html)      |
| `landing_page`  | prompt, web, image, yt, landing-page, text             | Landing page (.html) |

## Example

```bash theme={"theme":{"light":"github-light","dark":"tokyo-night"}}
curl -X POST https://api.getspine.ai/v1/run \
  -H "X-API-KEY: sk_spine_..." \
  -F "prompt=Create a quarterly sales report" \
  -F "template=report"
```

## Precedence

When both `blocks` and `template` are provided, `blocks` wins:

```
blocks (if provided)  >  template  >  "auto" default
```

See [Block types](/api-reference/concepts/block-types) for the full block-type reference and when to use `blocks` instead of a template.
