Generate Report Endpoint
Generate a .docx insights report.
The report is built by a deterministic python-docx template (no LLM,
no agent) so every call for the same insights produces the same
document shape. Response shape mirrors POST /v1/word/generate —
callers can reuse their download / edit-URL handling. For a PDF
rendition, follow up with POST /v1/runs/{run_id}/export.
Authorizations
Send X-API-Key: sk_live_<your_key>. Keys are issued via POST /signup or via the dashboard. Legacy callers may also use Authorization: Bearer sk_live_<your_key>.
Path Parameters
Body
"docx"Optional report title. Defaults to ' — Insights Report'.
200Only include insights with these severities. Omit for all.
critical, high, medium, low Only include insights of these kinds. Omit for all.
disparity, insight, similarity Whether to include resolved insights. Default false.
Restrict to insights whose source.fileId is in this list.
Run the report generator in the background and return 202.
Response
Successful Response
