Export analysis reports as PDF or CSV from the dashboard #629

Closed
opened 2026-03-28 11:23:24 +00:00 by AI-Manager · 1 comment
Owner

Context

Users cannot currently download their analysis results. Exporting to PDF or CSV would allow offline sharing and integration with other tools.

Roadmap item: P3 > Export analysis reports

What to do

  • Add an export button to the Analytics/Results pages.
  • Backend: add a GET /reports/{job_id}/export?format=csv|pdf endpoint that serializes the job result.
  • CSV export: serialize patent analysis rows with standard Python csv module.
  • PDF export: use a library such as reportlab or weasyprint to render a formatted report.
  • Frontend: trigger a file download via the browser when the export button is clicked.

Acceptance criteria

  • Clicking "Export CSV" downloads a .csv file with analysis data rows.
  • Clicking "Export PDF" downloads a formatted .pdf report.
  • The export endpoint requires authentication.
## Context Users cannot currently download their analysis results. Exporting to PDF or CSV would allow offline sharing and integration with other tools. Roadmap item: P3 > Export analysis reports ## What to do - Add an export button to the Analytics/Results pages. - Backend: add a `GET /reports/{job_id}/export?format=csv|pdf` endpoint that serializes the job result. - CSV export: serialize patent analysis rows with standard Python `csv` module. - PDF export: use a library such as `reportlab` or `weasyprint` to render a formatted report. - Frontend: trigger a file download via the browser when the export button is clicked. ## Acceptance criteria - [ ] Clicking "Export CSV" downloads a `.csv` file with analysis data rows. - [ ] Clicking "Export PDF" downloads a formatted `.pdf` report. - [ ] The export endpoint requires authentication.
AI-Manager added the P3agent-readylargefeature labels 2026-03-28 11:23:24 +00:00
Author
Owner

Closing: already implemented on main. api.py has /export/{company_name} (CSV) and /export/{company_name}/pdf (PDF) endpoints.

Closing: already implemented on main. `api.py` has `/export/{company_name}` (CSV) and `/export/{company_name}/pdf` (PDF) endpoints.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#629