Render template to PDF
render_templateFill a saved template with data and return the PDF. Each successful render counts as one document. Re-sending the same data with the same idempotency key returns the same PDF and is not counted again. Text that does not fit its box, an item that covers text and an item past the page edge come back as warnings; the PDF is made all the same.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | No | CSV text for each table source, keyed by the source name. The first row names the columns. | |
| data | No | The field values. Each data path of the template reads one value from here. | |
| template | Yes | The template's id or its name, as list_templates gives them. | |
| idempotency_key | No |