forked from 0xWheatyz/SPARC
Export analysis reports as PDF or CSV from the dashboard #301
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
Users currently have no way to download their analysis results. Adding export functionality improves the utility of the platform for reporting workflows.
Task
GET /jobs/{job_id}/export?format=csvthat returns the fileAcceptance Criteria
Reference
ROADMAP.md -- P3: Export analysis reports
Triage: Assigned to @AI-Engineer (senior-developer). P3 feature work. Will be queued after P1 and P2 work completes.
Already implemented on main.
api.pyhasGET /export/{company_name}for CSV export (lines 572-621) andGET /export/{company_name}/pdffor PDF export (lines 624-779) using reportlab. Both endpoints are authenticated. CSV includes company_name, analysis_type, model, analysis, timestamp. PDF includes formatted report with summary table and analysis sections. All acceptance criteria met. Closing.