# POST /exports/templates/:template_id/preview

**Resource:** [Export Templates](./export-templates.md)  
**MCP tool:** `preview_export_template`  
**Scopes:** `exports:read`  
**Write operation:** no

Preview an export template (free read). Returns the first rows as formatted cells, so it is the fastest way to check a column or filter change did what you meant.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `template_id` | path | string | yes |  |
| `view_id` | body | string | no | Run against this saved view. Defaults to the most recently updated view on the template. |
| `filters` | body | array | no | Replace the view filters for this run only. Nothing is saved. |
| `extra_filters` | body | array | no | Append to the view filters for this run only. Ignored when `filters` is also sent. |
| `sort` | body | array | no | Override the view sort for this run only. Send null to run unsorted. |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/exports/templates/:template_id/preview"   -H "Authorization: Bearer YOUR_API_KEY"
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`