Description
Users should be able to export debate transcripts and scores for offline analysis and reporting.
What to do
- Create an
/api/debate/[id]/export endpoint
-
- Support JSON export with all turns, agents, and scores
-
- Support PDF export with formatted debate transcript
-
- Add export buttons to the debate detail page
-
- Include score summary and metrics in exports
Skills needed
- TypeScript / Next.js API routes
-
- PDF generation (jsPDF or similar)
References
- Debate API:
apps/web/app/api/debate/[id]/route.ts
Description
Users should be able to export debate transcripts and scores for offline analysis and reporting.
What to do
/api/debate/[id]/exportendpointSkills needed
References
apps/web/app/api/debate/[id]/route.ts