GET
/
{vin}
/
battery_health
Get Battery Health Measurements
curl --request GET \
  --url https://api.tessie.com/{vin}/battery_health \
  --header 'Authorization: Bearer <token>'
{
  "result": {
    "max_range": 303.35,
    "max_ideal_range": 255.12,
    "capacity": 96.79
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

vin
string
required

The associated VIN.

Query Parameters

from
number

The start of the timeframe. Unix timestamp in seconds.

to
number

The end of the timeframe. Unix timestamp in seconds.

distance_format
enum<string>
default:mi

Whether to return data in miles or kilometers.

Available options:
mi,
km

Response

200 - application/json

Success

The response is of type object.