Battery health
Paginated battery health scores and diagnostics for vehicles in the authenticated company.
Overview
Endpoint
GET /v2/api/battery-health
Query parameters
0 = All, 1 = Critical, 2 = Warning, 3 = Healthy.BatteryHealthSortField enum values).true, sort results in descending order.BatteryHealthBadge enum values; 0 = None / no filter).Response
200 OK —BatteryHealthResponse
Top-level fields
summary
items[]
Each element in items represents one vehicle.
voltageHistory
Contains four rolling-window objects keyed 7day, 30day, 60day, and 90day. Each has the same shape:
forecast
statuses[]
healthScore
healthScore.composition
Each field is a string rating derived from the component’s raw score relative to its maximum.
last90DaysVoltage[]
Daily voltage readings for trend visualisation. May be an empty array if data is unavailable.
Example response
Error responses
Authorizations
JWT Bearer token obtained from POST /v2/api/authentication/token/api-key.
Lifetime: ~24 hours (86,399 seconds). Cache the token and reuse it. Re-authenticate 5 minutes before expiry.
Scoping: API key tokens are scoped to the company the key belongs to and may restrict access to a vehicle allowlist and/or action set (see token claims).
No refresh endpoint — re-authenticate with your API key when the token expires.
Query Parameters
Page number to retrieve (1-based). Returned as page in the response.
Number of results per page. Returned as pageSize in the response.
Optional filter by vehicle name.
Band filter: 0 = All, 1 = Critical, 2 = Warning, 3 = Healthy.
Sort field (maps to BatteryHealthSortField enum values).
When true, sort results in descending order.
Badge filter (maps to BatteryHealthBadge enum values; 0 = None / no filter).
Response
200 OK — Returns a fleet-level summary and a paginated list of per-vehicle battery health records, including voltage history, health scores, badge signals, and replacement forecasts.
Fleet-level battery health counts and average score across all vehicles.
Paginated list of per-vehicle battery health records.
Total number of vehicles with battery health data (across all pages).
Current page number (1-based).
Number of results returned per page.