PDFs & render history

Try a real render in Run

Run a template with an API key, version, variant, and data in the Run.

3 min read4 sections
On this page

Run lets you supply data and create PDFs inside the editor. Select the template edition, fill in its inputs, and inspect the result in one place before connecting the template to your software.

1. Select a key, version, and variant

Save and publish the intended version, then open Run. Select a project API key with template:render, a Version, and a Variant name. Create a key in API Keys if needed.

RUN
API KEYProject key
VERSIONv2
VARIANTStandard
Run → API key → Version → Variant

2. Fill in the job’s Parameters

Expand Parameters in Run and edit the test values. Fields come from the declared schema; objects and arrays still need their correct types.

These inputs belong to the PDF job and do not change the template’s Defaults. Resetting inputs restores the default Parameter values.

Before the job is queued, the inputs are checked against the version: a required Parameter that is empty or missing, or a value of the wrong type, stops the run with a message listing each offending field, such as parameters.copies: expected number, but got string. Fields the template does not declare are ignored.

RUN · Parameters
recipientTembuilder
copies2
{ "recipient": "Tembuilder", "copies": 2 }
Run inputs belong to the job and do not replace Defaults

3. Generate a PDF and open the result

Choose Render. The job appears in Run’s history while processing. Open its result row to view status and download the PDF on success.

For a failed job, open its error details to identify whether the input, template, or usage conditions need attention before retrying.

Render · #a18f
StatusSuccess
Version2 · Standard
document.pdf↓ Download
Render → history → open the result → Download

4. Copy a request to start integrating

Run’s copy menu offers cURL, JavaScript, and Python. Snippets use <YOUR_API_KEY>; supply the key in your own execution environment.

RUN
Copy ⌄
Copy cURLcurl
Copy JavaScriptfetch
Copy Pythonrequests
Copy → cURL / JavaScript / Python

Search documentation