/api/reports
POST /reports/generate — generate a report
Starts report generation. Returns a report ID and estimated generation time.Request body
Report type:
drift_summary, vulnerability_report, compliance_assessment, or cost_report.Output format:
pdf or csv.Scope the report to a specific provider.
Start of the date range, in
YYYY-MM-DD format.End of the date range, in
YYYY-MM-DD format.Response 202
GET /reports/ — get report status
Poll this endpoint to check whether the report is ready.Response when complete
Current status:
generating, ready, or failed.ISO 8601 timestamp after which the download link is no longer valid.
GET /reports//download — download report file
Downloads the generated report file.Content-Type header: application/pdf or text/csv.
GET /reports — list recent reports
Returns reports generated in the last 30 days.Query parameters
Filter by report type.
Filter by status:
generating, ready, or failed.