Skip to main content

IOT data packet sums for the gateway

GET 

/gateways/:address/iot/data/sum

Returns aggregated IoT data packet counts for the specified window.

By default this endpoint uses precomputed summaries. Set source=raw to recompute from iotValidPackets directly during rollout checks or when you need to compare against the latest raw ingest before dirty-bucket workers have materialized the current buckets.

Summary mode filters precomputed hourly/daily bucket starts. For exact arbitrary min_time / max_time windows that are not aligned to the requested bucket, use source=raw.

Bucketed responses include zero totals for missing UTC buckets, newest first, even when the entire window has no records. Unbucketed aggregates retain their existing behavior. Ranges may contain at most 100,000 buckets; the upper bound is exclusive.

Request​

Responses​

List of IotValidPacketSum.