Get safety scores for a vehicle on a per-trip basis.
JWT Bearer token obtained from POST /api/authentication/token/user or POST /api/authentication/token/api-key.
Lifetime: ~24 hours (86,399 seconds). Cache the token and reuse it. Re-authenticate 5 minutes before expiry.
Scoping:
No refresh endpoint — re-authenticate with your credentials when the token expires.
Bearer your_token
Legacy vehicle ID.
Preset window (used only when start/finish are omitted). 1 = instant range, 2 = relative to end of local day, 3 = three-day window, 4 = week window. Note: the implementation uses a double-negative offset (finish - TimeSpan.FromDays(-N)) which adds days to finish for types 2–4. Validate in staging before relying on preset windows.
Range start (ISO 8601 UTC). Optional when using intervalType.
Range end (ISO 8601 UTC). Optional when using intervalType.
Successful response with array of trip safety score data
Trip start time (also used as trip ID component)
"2024-01-15T08:00:00Z"
Trip end time
"2024-01-15T08:45:00Z"
Human-readable risk level
"Medium"
Risk score (0–100)
0 <= x <= 10062
Trip duration in seconds
2700
Total distance in kilometers
35.75