The request configuration containing node ID, parameter name, endpoint and query parameters
OptionalnextIdParam: stringOptional pagination cursor sent as start_id; used
internally by fetchNext() for subsequent pages
A promise that resolves to the transformed aggregates response
Fetches simple time series aggregates (
query_type=aggregates) for a single node parameter and transforms the response intoESPSimpleTSAggregatesResponse.Handles pagination via the node-level
next_idcursor: when the response contains one,hasNextis set to true andfetchNext()re-issues the same request withstart_id=<next_id>.