cURL
curl --request GET \ --url https://api.voltview.co.uk/v1/sites/{siteId}/peakDemand \ --header 'Authorization: Bearer <token>'
{ "siteId": "<string>", "peak": 123, "timestamp": "2023-11-07T05:31:56Z", "averageDemand": 123, "loadFactor": 123 }
Retrieves peak power demand data for a specific site
Supabase Auth JWT access token obtained after signing in via magic link or OTP
Site identifier
Peak demand data retrieved successfully
Peak power demand in kW
Timestamp of peak demand
Average power demand in kW
Load factor as a percentage