Before you begin
You need:
- A running Reporter instance
- A valid authentication token (if Access Manager is enabled)
- A
.tpltemplate file ready to upload
cURL. Replace $TOKEN with your authentication token and https://reporter.example.com with your Reporter URL.
Step 1: Upload a template
Upload a
.tpl file that defines the structure and content of your report. The file content must match the desired output format (HTML, XML, CSV, TXT), but the file itself must have a .tpl extension.
cURL
id. You will use it to generate reports.
Supported output formats
| Format | Use case |
|---|---|
CSV | Data exports and spreadsheet integration |
XML | Structured data and regulatory submissions |
HTML | Browser-viewable reports |
PDF | Print-ready and shareable documents |
TXT | Plain text and legacy system integration |
Step 2: Verify the template
List your templates to confirm the upload was successful.
cURL
Step 3: Generate a report
Submit a report generation request with the template ID and optional filters to narrow the data.
cURL
id for the next steps.
Filter structure
Filters follow the path: data source > table > field > operator > values.| Operator | Description | Example |
|---|---|---|
eq | Equal to | { "eq": ["active"] } |
gt / gte | Greater than / greater or equal | { "gte": ["2026-01-01"] } |
lt / lte | Less than / less or equal | { "lt": [1000] } |
between | Value within a range | { "between": ["2026-03-01", "2026-03-31"] } |
in / nin | Value in / not in a list | { "in": ["active", "pending"] } |
Filters are optional. Omit them to generate a report with all available data.
Step 4: Check report status
Report generation is asynchronous. Poll the status endpoint until the report is ready.
cURL
| Status | Meaning |
|---|---|
Processing | Reporter is querying data and rendering the template |
Finished | The report is ready for download |
Error | An error occurred during generation |
Finished before proceeding to download.
Step 5: Download the report
Once the report is finished, download the generated file.
cURL
Content-Disposition headers indicating the filename and format.
Step 6: Explore data sources
To understand what data is available for your templates, list the configured data sources and their schemas.
cURL
{{ datasource.table.field }} syntax.

