- List status logs for a vehicle
List the historical status logs for a specific Vehicle. Used to find out the state of the Vehicle at each point it reported in to ev.energy.
- Mock serverhttps://developers.ev.energy/_mock/ev.energy-api-v2/vehicles/{vehicle_id}/status_logs
- Live API for both production and sandbox requests.https://api.ev.energy/v2/vehicles/{vehicle_id}/status_logs
- Staging server for internal testing only.https://api-staging.ev.energy/v2/vehicles/{vehicle_id}/status_logs
curl -i -X GET \
'https://developers.ev.energy/_mock/ev.energy-api-v2/vehicles/vhcl01HRFF3SEVSCRAV9B3CHVDFN0H/status_logs?page_before=xmpl01HNFZM7Q8FXASZXYZ6XM3TQRR&page_after=xmpl01HNFZM7Q8FXASZXYZ6XM3TQRR&page_size=10&sampled_at__gte=2024-04-17T09%3A39%3A45.984584Z&sampled_at__lte=2024-04-17T09%3A39%3A45.984584Z&expand=vehicle' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'EvEnergy-Version: 2'List all the status logs for a specific Vehicle, sorted newest first.
Provides links to the previous and next pages of data, if they exist.
Indicates the version of the API that generated this response. If EvEnergy-Version was not specified in the request, this will be your OAuth application's default version.
The maximum number of requests that can be made to this endpoint per hour. Defaults to 1000 but may vary per client.
The number of requests remaining until this client's rate limit is reached.
The date and time this status information was received and stored.
The date and time when this data was recorded. Likely to be earlier than logged_at, but how much earlier depends on the integration and other factors.
How full the vehicle's battery is, as a percentage. Will be null if we are unable to get this information from the vehicle's telematics.
Is the vehicle currently receiving charge? Will be null if we are unable to get this information from the vehicle's telematics.
Is the vehicle currently connected to an EVSE? Will be null if we are unable to get this information from the vehicle's telematics.
The current rate of charge being received, in watts. Will be null if we are unable to get this information from the Vehicle integration.
The charge rate in watts estimated from the change in battery charge level. Useful when the Vehicle integration does not report charge_rate_watts directly. Will be null if it cannot be estimated.
The battery charge level in watt hours. Will be null if we are unable to get this information from the Vehicle integration.
The target charge level as a percentage. Will be null if we are unable to get this information from the Vehicle integration.
The target charge level in watt hours. Will be null if we are unable to get this information from the Vehicle integration.
The amount of energy added during the most recent charge, as reported by the vehicle, in watt hours. Will be null if we are unable to get this information from the Vehicle integration.
The number of minutes the vehicle predicts until it is fully charged. Will be null if we are unable to get this information from the Vehicle integration.
The current type of the EVSE the vehicle is connected to (AC or DC). Will be null if we are unable to get this information from the Vehicle integration.
Whether the vehicle has reached the target charge level. Will be null if we are unable to get this information from the Vehicle integration.
The vehicle's odometer reading in meters. Will be null if we are unable to get this information from the Vehicle integration.
The state of the vehicle. Will be null if we are unable to get this information from the Vehicle integration.
[ { "url": "https://api.ev.energy/v2/vehicles/vhcl01HRFF3SEVSCRAV9B3CHVDFN0H/status_logs/2024-01-01T11:11:11.1111Z/", "logged_at": "2019-08-24T14:15:22Z", "sampled_at": "2019-08-24T14:15:22Z", "vehicle": "https://api.ev.energy/v2/vehicles/vhcl01HRFF3SEVSCRAV9B3CHVDFN0H", "state_of_charge_percentage": 70, "is_charging": false, "is_plugged_in": false, "charge_rate_watts": 0, "estimated_charge_rate_watts": 0, "charge_level_watt_hours": 0, "target_charge_level_percentage": 0, "target_charge_level_watt_hours": 0, "charge_energy_added_watt_hours": 0, "minutes_to_full_charge": 0, "current_type": "AC - Typically home chargers", "is_complete": true, "odometer_meters": 0, "data_source": "string", "state": "DRIVING" } ]