Retrieves energy cost data for a specific site
Supabase Auth JWT access token obtained after signing in via magic link or OTP
Site identifier
Time period to look back (e.g. 1d, 1w, 1m, 1y for day, week, month, year)
^\d+[dwmy]$"1y"
Data aggregation granularity
hour, day, month, year Start date and time (ISO 8601)
"2024-01-01T00:00:00.000Z"
End date and time (ISO 8601)
"2024-12-31T23:59:59.999Z"