get annotations based on a sliding windowAsk AIget https://api.pennsieve.io/timeseries/{id}/layers/{layerId}/annotations/windowPath ParamsidstringrequiredId of the timeseries package to aggregate annotations forlayerIdint32requiredId of the layer the annotations belongs toQuery ParamsaggregationstringrequiredAggregation function to run over the values of the annotationsstartint64requiredThe starting time of the range to query over in microseconds (inclusive)endint64requiredThe ending time of the the range to query over in microseconds (exclusive)periodint64requiredThe length of time to group the counts of annotations by in microsecondschannelIdsarray of stringslist of channel ids (if absent, use all channels)channelIdsADD stringmergePeriodsbooleanmerge consecutive result periods together to reduce the size of the resulting payloadtruefalsestartAtEpochbooleanReturned timestamps will be relative to the minimum package timetruefalseResponse 200OKUpdated almost 5 years ago