Builder APIGuides
A temperature chart
Hourly average temperatures of a set of sensors over a week, in the shape chart libraries take.
One call gives you a week of hourly averages, ready for a chart.
points comes from Rooms and their temperatures.
Request
const { t, series } = await relynk('/points.timeseries/v2', {
pointIds: points.map((p) => p.id),
from: '2026-10-05',
to: '2026-10-12',
bucket: 'hour',
metrics: ['avg']
});The range is [2026-10-05 00:00, 2026-10-12 00:00) in Oslo time: seven full days (see Time).
What you get back
{
"timeZone": "Europe/Oslo",
"bucket": "hour",
"t": ["2026-10-05T00:00:00+02:00", "2026-10-05T01:00:00+02:00"],
"series": [{ "pointId": "…", "unitKey": "unit_Deg_C", "avg": [21.4, null] }]
}tis the shared time axis.series[i].avg[j]is the average of pointseries[i].pointIdin the hour starting att[j].- Pass
tas the x values and one dataset per point. nullis an hour without readings: draw a gap.