generate_preview
Generate a watermarked preview PDF (no credits consumed). The preview PDF is available for one-time download via the returned URL, then deleted from storage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | JSON string of template variable data (e.g. report info, holdings, allocation, performance arrays). Pass an empty object {} if omitted. | |
| templateId | Yes | The UUID of the template to use for generating the preview |