Timeline
The driver timeline service provides a driver's score history and statistics. It is presented as a vector of chronologically sorted data. Two time scales are available:
weekly and
monthly.
The data are obtained by averaging scores and aggregating trip data over a week or a month.
Timeline data is updated hourly.
If you have your admin API key, you can try the API via this link.
Timeline of driver's scores
GET
https://service.drivequant.com/v3/drivekit/admin/drivers/{userId}/timeline
Get monthly and weekly averages of DriveQuant scores for a specified driver:
Path Parameters
userId
string
Driver's unique identifier
Headers
DriveKit-Admin-API-Key
string
Admin API Key
Response
The table below summarizes the list of timeline data.
month
Monthly averages of scores
week
Weekly averages of scores
Timeline
Averages of scores for all context and each road context.
allContext
Averages of scores for all contexts
roadContext
array[object]
AllTimelineItem
Average of scores for all contexts
date
array[date]
Vector of dates (first day of the week/month): date format (YYYY-MM-dd’T’HH:mm:ss.SSSZ)
numberTripScored
array[int]
Vector of trips number (scored)
numberTripTotal
array[int]
Vector of trips number (total)
distance
array[double]
Vector of driving distances (in km)
duration
array[double]
Vector of driving durations (in min)
safety
array[double]
Vector of average safety scores
acceleration
array[int]
Vector of total hard accelerations
braking
array[int]
Vector of total hard brakings
adherence
array[int]
Vector of total adherence limits
efficiency
array[double]
Vector of average ecodriving scores
co2Mass
array[double]
Vector of total CO2 mass (in kg)
fuelVolume
array[double]
Vector of total fuel volume (in l)
efficiencyAcceleration
array[double]
Vector of efficiency subscores related to acceleration phase
efficiencyBrake
array[double]
Vector of efficiency subscores related to brake phases
efficiencySpeedMaintain
array[double]
Vector of efficiency subscores related to speed maintain phases
phoneDistraction
array[double]
Vector of average phone distraction scores
unlock
array[int]
Vector of tot unlocks - only for allContext
lock
array[int]
Vector of total locks - only for allContext
callAuthorized
array[int]
Vector of total authorized calls - only for allContext
callForbidden
array[int]
Vector of total unauthorized calls - only for allContext
callAuthorizedDuration
array[int]
Vector of authorized calls duration (in sec) - only for allContext
callForbiddenDuration
array[int]
Vector of unauthorized calls duration (in sec) - only for allContext
numberTripWithForbiddenCall
array[int]
Vector of number of trips with one or more forbidden call
speeding
array[double]
Vector of average speeding scores
speedingDuration
array[double]
Vector of duration over speed limits
speedingDistance
array[double]
Vector of distance travelled over speed limits
tripCategory
array[array[int]]
tripCategoryDistance
array[array[int]]
weather
array[array[int]]
weatherDistance
array[array[int]]
dayDistance
array[double]
Distance travelled during the daylight
weekDayDistance
array[double]
Distance travelled during week days (monday to friday)
RoadTimelineItem
Average of scores for each contexts
roadContext
string
date
array[date]
Vector of dates (first day of the week/month): date format (YYYY-MM-dd’T’HH:mm:ss.SSSZ)
numberTripScored
array[int]
Vector of trips number (scored)
numberTripTotal
array[int]
Vector of trips number (total)
distance
array[double]
Vector of driving distances (in km)
duration
array[double]
Vector of driving durations (in min)
safety
array[double]
Vector of average safety scores
acceleration
array[int]
Vector of total hard accelerations
braking
array[int]
Vector of total hard brakings
adherence
array[int]
Vector of total adherence limits
efficiency
array[double]
Vector of average ecodriving scores
co2Mass
array[double]
Vector of total CO2 mass (in kg)
fuelVolume
array[double]
Vector of total fuel volume (in l)
efficiencyAcceleration
array[double]
Vector of efficiency subscore related to acceleration phas
efficiencyBrake
array[double]
Vector of efficiency subscore related to brake phases
efficiencySpeedMaintain
array[double]
Vector of efficiency subscore related to speed maintain phases
RoadContext
Road contexts are calculated from the GPS velocity. They are not based on map data.
HEAVY_URBAN_TRAFFIC
Speed below 30 km/h and distance between two stops greater than 100m
CITY
30 km/h < Speed < 65 km/h
SUBURBAN
65 km/h < Speed < 96 km/h
EXPRESSWAYS
Speed > 96 km/h
TripCategory
Category of trips by distance
0
Less than 2 km
1
From 2 to 10 km
2
From 10 to 50 km
3
From 50 to 100 km
4
More than 100 km
Weather
Type of weather
0
Unknown
1
Sunny
2
Cloudy
3
Foggy
4
Rainy
5
Snowy
6
Ice
Last updated