Generate From Results
POST
/report/generate-from-results
Generate a PDF report directly from Results Panel data.
Unlike /generate which requires scoring objects and pack context, this endpoint accepts raw table data (columns + rows) and renders a standalone PDF report using the results-report.html template.
Returns the PDF as a binary response with Content-Disposition attachment.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ” ResultsReportRequest
Request body for Results Panel PDF export.
Accepts the same columns/rows shape as the frontend DataTable, plus optional stats, chart config, and map snapshot.
object
title
Title
string
columns
required
rows
required
Rows
Array<object>
object
key
additional properties
any
stats
include_map_snapshot
Include Map Snapshot
boolean
Responses
Section titled “ Responses ”Successful Response
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context