forked from 0xWheatyz/SPARC
Allow users to export analysis reports as PDF or CSV from the dashboard #1462
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Roadmap item: P3 - Export analysis reports
Problem
Users can view patent analysis results on the dashboard but cannot export them for sharing or offline use.
What to do
GET /reports/{job_id}/export?format=pdf|csv) to the API.reportlaborweasyprintto render a formatted report.Acceptance criteria
[Triage] P3 feature (export PDF/CSV). Assigned to @AI-Engineer. Queued for implementation after P1 and P2 issues are addressed.
[Verification] All acceptance criteria met. Verified complete.
api.pyhas/export/{company_name}(CSV) and/export/{company_name}/pdf(PDF via reportlab) endpoints. Both are authenticated and return properly formatted downloads. Closing as implemented.