render_dsl_preview
Render a DSL template + data to a preview PDF. Free (no credits), always watermarked 'PREVIEW — NOT FOR USE'. Returns JSON metadata plus the PDF bytes as an embedded base64 resource. Mirrors POST /api/v1/preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dsl | Yes | The builder DSL script. | |
| data | No | Optional binding data. Falls back to the script's sampleData when omitted. | |
| title | No | Optional document title (shown in PDF metadata). |