Site Level Consumption Monitoring

consumption_lifetime

Returns a daily time series of energy consumption as measured by the consumption meter installed on the specified system. All measurements are in Watt hours. The time series includes one entry for each day from the start_date to the end_date. There are no gaps in the time series. If the response includes trailing zeroes, such as [909, 4970, 0, 0, 0], then no data has been reported for the last three days.

get/api/v4/systems/{system_id}/consumption_lifetime

Request

Path parameters

system_idinteger required

The unique numeric ID of the system

Query parameters

start_datestring

Requested start date of the time series data. Defaults to the system’s operational date. If the start_date is earlier than the system’s operational_date, then the response data begins with the system operational_date as start_date. Pass as String date format YYYY-MM-DD.

end_datestring

End date of the time series data. Defaults to yesterday if start_date is earlier than the system’s current date; it defaults to today if start_date is the current date. Pass as String date format YYYY-MM-DD.

Response

consumption_lifetime

system_idinteger

The unique numeric ID of the system

start_datestring

When no start_date parameter is specified on the request, defaults to the operational_date of the system. May be null if system has never produced. When a start_date parameter is included in the request, the same is included in the response

consumptioninteger[]

An array of consumption measurements in Wh, one for each day since consumption metering began, or one for each day of the requested period

Changes

No recorded changes to this operation across all 1 revision of this API.