Insurance • Device/app ingestion, trip events, driver scoring, pricing & claims automation (no SLA section)
POST /trips/ingest
{
"deviceId":"OBD-88F21",
"driverId":"DRV-1021",
"vehicle":{"plate":"B1234XYZ","vin":"MHKGN58F..."},
"start":"2025-08-14T07:21:00+07:00",
"end":"2025-08-14T07:53:00+07:00",
"distanceKm": 21.3,
"context":{"night":false,"rain":true,"urban":true},
"hash":"sha256:..."
}
POST /score/driver
{
"driverId":"DRV-1021",
"windowDays": 30,
"features":{"harshBrakes": 7, "overSpeedMins": 14, "phoneUseMins": 6, "nightKm": 12.4}
}
-- RESPONSE --
{
"score": 0.78,
"band": "MEDIUM",
"reasons": ["Speeding at night","Phone use during trip"],
"discountPct": 3.5
}