Queue a report
POST /api/reports with the finding reference:
201— Aquila queued the report.200— a report already exists for the finding. The response carries it.404— unknown finding.
Track generation
GET /api/reports— paginated list.?status=filters by state, and?vulnerabilityId=narrows to one finding.POST /api/reports/{id}/retry— queue generation again. Returns409while a generation is already running.
Edit the content
PATCH /api/reports/{id}/content replaces the report body:
409 when a generation is writing the same report. PUT and
PATCH on /api/reports/{id} return 405. Edits go through the content
endpoint.
Delete
DELETE /api/reports/{id} deletes the report. The finding stays.
