RelynkLearn
Builder APIGuides

The warmest room last month

One summary per sensor over a month, to rank rooms by average or maximum temperature.

One summary per sensor is enough to rank rooms, and far cheaper than a time series.

points comes from Rooms and their temperatures.

Request

const { points: summaries } = await relynk('/points.summary/v1', {
	pointIds: points.map((p) => p.id),
	from: '2026-09',
	to: '2026-10'
});

"2026-09" to "2026-10" is all of September.

What you get back

  • One summary per point: avg, min and max with their times (minAt, maxAt), first and last.
  • Sort by avg (or max), and map each pointId back to its room through points.list's resourceIds.

On this page