Aggregated data can also be considered as structured data that have been clustered. They go through modifications to allow a better analytic processing seeking a segmented analysis.
Then, on Postman’s GraphQL request code box, add the following Aggregated Query, modifying the
tsRange to fit the time interval you want:
On the example above, you’ll query for an aggregated table of the HTTP dataset. Furthermore, the sum operator was used to request the aggregated data with information regarding the bytesSent field in a set range of time periods, informed through the tsRange field.
Lastly, the presented data were grouped and ordered through the ts (timestamp) field.
Send your request. You’ll receive a response similar to this:
The GraphQL API returned the aggregated data with the sum operator for the bytesSent field, according to the query informed in the request.
For more information on aggregating data with the GraphQL API, visit the datasets documentation page.