Authorizations
Authenticate with bearer you obtained from authentication endpoint.
Query Parameters
Set to true to avoid storing metering records permanently. Use for simulating consumption to estimate potential energy costs.
Body
Flatpeak location_id that you are submitting metering records for.
"loc_641b90b758fb8e6293716e40"
Units of measure, supported values are W, KW, WH, KWH. When W or KW units are submitted, cost will be calculated using the constant power rate over the period.
"W"
Amount of energy measured.
20567
Metering record start time. In RFC3339 format, e.g. 2023-06-15T09:00:00Z or with time-offset, e.g. 2023-06-15T08:00:00+01:00.
"2022-02-01T10:30:00Z"
Metering record end time. In RFC3339 format, e.g. 2023-06-15T09:00:00Z or with time-offset, e.g. 2023-06-15T08:00:00+01:00.
"2022-02-01T11:00:00Z"
Flatpeak device_id you are submitting metering records for. If you provided both location_id and device_id, your records will be attributed to device_id.
"dev_65e6d8334c8d715963d99db3"
A reference for a group of metering records, for example, a charging session ID.
"SESSION1234567890"
A reference for this metering record, for example, meter log ID.
"MET1234567890"
Energy flow direction. Set to INBOUND or OUTBOUND. Defaults to INBOUND.
"INBOUND"
Tariff direction to apply. Set to IMPORT, EXPORT, or LOCAL. Defaults to IMPORT.
"IMPORT"
Estimated confidence of data where '1' is 100% accurate and 0.1 is 10% accurate. Defaults to '1'. This parameter is in beta. Contact support to enable.
1
Response
Response example
Flatpeak meter record id.
"mre_65e641b570b2901d3a40199d"
Flatpeak object type, i.e. meter_record.
"meter_record"
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
Energy flow direction. Set to INBOUND or OUTBOUND. Defaults to INBOUND.
"INBOUND"
Specified tariff direction. Possible values are IMPORT, EXPORT or LOCAL.
"IMPORT"
Currency code for cost of energy measure.
"GBP"
Units of energy measure.
"WH"
Value of energy object
Time when this object was created. In UTC.
"2022-02-01T10:33:00Z"
Flatpeak account ID.
"acc_661677911f2197045e6cf1b1"

