Patrol Reports

Create Report

post/api/patrol-reports

Request

  • Base URL
    https://api.avete.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

site_idinteger nullable
inspector_namestring nullable
site_namestring nullable
start_datestring nullable
end_datestring nullable
include_safe_imagesboolean

If true, include images and longform clips with no failing guidelines (no FAIL status and no actionable risk level on evaluated rules).

media_source'manual' | 'cctv' | 'both'
all_dayboolean
capture_start_timestring nullable
capture_end_timestring nullable
langstring nullable
source_video_idsinteger[] nullable
report_namestring nullable

Response

Successful Response

idinteger required
company_idinteger required
site_idinteger nullable
inspector_namestring required
site_namestring nullable
start_datestring date-time required
end_datestring date-time required
include_safe_imagesboolean required
media_sourcestring
created_atstring date-time required
pdf_report_urlstring nullable
capture_start_timestring time nullable
capture_end_timestring time nullable
source_video_idsinteger[] nullable
report_namestring nullable
total_reportsinteger nullable
with_commentsinteger nullable
critical_risks_countinteger nullable
has_commentsboolean nullable
completion_percentageinteger nullable
resolution_statusstring nullable
resolved_findings_countinteger nullable
total_findings_countinteger nullable
open_critical_risks_countinteger nullable

Changes

No recorded changes to this operation across all 1 revision of this API.