Safety
Safety compliance routes (incidents, safety AI reports, ergonomics, case studies)
📄️ Get All Incidents
Retrieves all safety incidents with optional filtering.
📄️ Create Incident
Creates a new safety incident.
📄️ Delete Incidents
Deletes multiple incidents by their IDs.
📄️ Get Incident Metrics
Retrieves aggregated metrics for safety incidents.
📄️ Get Incident Image
Retrieves an incident image by filename, matched against `incident_name` for
📄️ Get Incident Image by Content ID
Retrieves an incident image by media content ID, with optional bounding-box
📄️ Get Presigned URL for Incident Video
Retrieves a presigned URL for accessing an incident video.
📄️ Get Incident Video
Retrieves an incident video by content ID.
📄️ Get Incident by ID
Retrieves a specific incident by its ID.
📄️ Get False Positive Incidents
Retrieves all incidents marked as false positives.
📄️ Mark Incident as False Positive
Marks an incident as a false positive.
📄️ Update False Positive Incident
Updates a false positive incident record.
📄️ Remove False Positive Mark from Incident
Removes the false positive mark from an incident.
📄️ Get Incident Reports
Retrieves all safety incident reports.
📄️ Create Incident Report
Creates a new safety incident report.
📄️ Get Incident Report Data
Retrieves all incident report data entries.
📄️ Create Incident Report Data
Creates incident report data entry.
📄️ Get Incident Report PDF
Retrieves an incident report as a PDF file.
📄️ Update Incident Report Data
Updates an incident report data entry.
📄️ Analyze Incident Images
Analyzes incident images using AI for safety assessment.
📄️ Save Incident Report to PDF
Generates and saves an incident report as a PDF file.
📄️ List AI-Generated Safety Reports
Lists a site's AI-generated safety report history, newest first. Org-wide — visible
📄️ Report Generator Chat Turn
One stateless turn of the report generator's guided chat. The client carries the
📄️ Generate an AI Safety Report
Runs the full generation pipeline for a confirmed report scope: queries and
📄️ Get an AI Safety Report
Gets a single generated report, including its full assembled document — used to
📄️ Delete an AI Safety Report
Permanently deletes a generated report from the history. Sharing happens only via
📄️ Export an AI Safety Report as Word
Streams the persisted report document rendered as an editable .docx file. Purely
📄️ Get Ergonomics List
Retrieves all ergonomics records.
📄️ Create Ergonomics Record
Creates a new ergonomics record.
📄️ Get Ergonomics Record by ID
Retrieves a specific ergonomics record by its ID.
📄️ Get Ergonomics Video
Retrieves an ergonomics video by ID.
📄️ Create Case Study
Creates a new safety case study.