Retrieve the current state of an EV Charger device including charging status, power, and connection state
cURL
curl --request GET \ --url https://api.example.com/ev-charger/{deviceId} \ --header 'x-api-key: <api-key>'
{ "id": "<string>", "vendor": "<string>", "sync": { "available": true, "lastPulledAt": "<string>" }, "metadata": { "model": "<string>", "source": "cache", "cacheType": "expedite" }, "state": { "status": "available", "isConnected": true, "isCharging": true, "currentPower": 123, "maxCurrent": 123, "powerRateLimit": 123 }, "features": { "pull": [ { "key": "<string>", "min": 123, "max": 123 } ], "push": [ { "key": "<string>", "min": 123, "max": 123 } ] } }
The unique identifier for the EV Charger device
"device_abc123"
Use expedite cache with 1 minute TTL instead of normal 15 minute TTL
false
EV Charger state retrieved successfully
Show child attributes