The Vehicle Timeline Service offers an overview of a vehicle's statistics, formatted as a vector with chronologically sorted data.
This information is available in two time scales (weekly and monthly) and is generated by averaging and summarizing trip details over the selected period. The same statistics are retrieved for each individual road context.
The timeline updates automatically with the analysis of each new trip.
If you have your admin API key, you can try the API via this link.
Get vehicle timeline
get
Authorizations
DriveKit-Admin-API-KeystringRequired
Path parameters
vehicleIdstringRequired
The vehicle's identifier
Query parameters
dateFormatstring · enumOptional
Date format in the response:
timestamp: number of milliseconds since January 1, 1970, 00:00:00 GMT (e.g., 1685625600000)
isodate: ISO 8601 date format (e.g., '2023-06-01T13:20:00.168Z')
Default: isodatePossible values:
Header parameters
DriveKit-Admin-API-KeystringRequired
Drivekit Admin API key
Responses
200
OK
application/json
401
Unauthorized
application/json
404
Vehicle or Timeline Not Found
application/json
get
/drivekit/admin/vehicles/{vehicleId}/timeline
Note
Use the dateFormat query parameter to control the format of the date fields in the response. Accepted values are:
timestamp : returns dates as a 64-bit integer representing the number of milliseconds elapsed since the Unix epoch (January 1, 1970, 00:00:00 UTC). Example: 1685625600000
isodate : returns dates as a string conforming to the ISO 8601 standard. Example: 2023-06-01T13:20:00.168Z
If the dateFormat parameter is not specified, the response defaults to isodate format.
Response
The table below summarizes the list of timeline data.