curl --request POST \
--url https://api.example.com/v1/devices/hvac/{id}/thermostat_behavior/record \
--header 'Content-Type: application/json' \
--header 'x-ws-api-key: <api-key>' \
--data '
{
"temperature": [
71,
71.5,
72
],
"timestamp": [
"2025-06-02T12:00:00.000Z",
"2025-06-02T12:15:00.000Z",
"2025-06-02T12:30:00.000Z"
]
}
'