Engine

Covers Engine 2.0.0

rapid/query-channel-range

Queries channel range.

  • Category: Channels and Persistence

Request payload

FieldTypeRequirementDescription
seriesarray<string>RequiredChannel keys or channel-field paths to query; at least one and no more than the server series limit.
fromintegerOptionalInclusive Unix-epoch start time. Millisecond, microsecond, and nanosecond values are normalized by magnitude; x_from is an alias.
x_fromintegerOptionalAlias for from.
tointegerOptionalInclusive Unix-epoch end time. Millisecond, microsecond, and nanosecond values are normalized by magnitude; x_to is an alias.
x_tointegerOptionalAlias for to.
data_framestringOptionalOptional persisted data-frame name.
bucket_countintegerOptionalRequested downsample bucket count. Zero or omission returns raw points subject to server limits.
bucket_modestringOptionalDownsampling mode: average (default) or extrema.

Response payload

FieldTypeDescription
channelsarray<ChannelSeries>One item per requested series with channel_reference, raw/returned point counts, and {timestamp, value} points.
bucket_countinteger|nullEffective bucket count, or null for an unbucketed query.
bucket_modestring|nullEffective bucket mode, or null for an unbucketed query.
bucketedbooleanWhether downsampling was applied.
total_raw_pointsintegerTotal points before downsampling.
total_pointsintegerTotal points returned.
total_point_limitintegerServer-wide point limit for one response.
query_secondsnumberServer query duration in seconds.

Errors

  • The series list is missing/too large, the request exceeds raw-point limits, a channel is invalid, or the query is canceled.