Aggregate RUM events

POST {{baseUrl}}/api/v2/rum/analytics/aggregate

The API endpoint to aggregate RUM events into buckets of computed metrics and timeseries.

Request Body

{"compute"=>[{"aggregation"=>"pc98", "interval"=>"<string>", "metric"=>"<string>", "type"=>"total"}, {"aggregation"=>"cardinality", "interval"=>"<string>", "metric"=>"<string>", "type"=>"total"}], "filter"=>{"from"=>"now-15m", "query"=>"*", "to"=>"now"}, "group_by"=>[{"facet"=>"<string>", "histogram"=>{"interval"=>"<double>", "min"=>"<double>", "max"=>"<double>"}, "limit"=>10, "missing"=>"<string>", "sort"=>{"aggregation"=>"sum", "metric"=>"<string>", "order"=>"asc", "type"=>"alphabetical"}, "total"=>"<boolean>"}, {"facet"=>"<string>", "histogram"=>{"interval"=>"<double>", "min"=>"<double>", "max"=>"<double>"}, "limit"=>10, "missing"=>"<string>", "sort"=>{"aggregation"=>"pc99", "metric"=>"<string>", "order"=>"asc", "type"=>"alphabetical"}, "total"=>"<boolean>"}], "options"=>{"time_offset"=>"<long>", "timezone"=>"UTC"}, "page"=>{"cursor"=>"<string>", "limit"=>10}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;data&quot;:{&quot;buckets&quot;:[{&quot;by&quot;:{&quot;inc4&quot;:&quot;\u003cstring\u003e&quot;},&quot;computes&quot;:{&quot;nostrud_0c_&quot;:&quot;\u003cstring\u003e&quot;}},{&quot;by&quot;:{&quot;dolore__&quot;:&quot;\u003cstring\u003e&quot;,&quot;aliqua_8a4&quot;:&quot;\u003cstring\u003e&quot;,&quot;fugiatd&quot;:&quot;\u003cstring\u003e&quot;,&quot;culpa9_a&quot;:&quot;\u003cstring\u003e&quot;},&quot;computes&quot;:{&quot;aliqua_237&quot;:&quot;\u003cstring\u003e&quot;}}]},&quot;links&quot;:{&quot;next&quot;:&quot;\u003cstring\u003e&quot;},&quot;meta&quot;:{&quot;elapsed&quot;:&quot;\u003clong\u003e&quot;,&quot;page&quot;:{&quot;after&quot;:&quot;\u003cstring\u003e&quot;},&quot;request_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;status&quot;:&quot;done&quot;,&quot;warnings&quot;:[{&quot;code&quot;:&quot;\u003cstring\u003e&quot;,&quot;detail&quot;:&quot;\u003cstring\u003e&quot;,&quot;title&quot;:&quot;\u003cstring\u003e&quot;},{&quot;code&quot;:&quot;\u003cstring\u003e&quot;,&quot;detail&quot;:&quot;\u003cstring\u003e&quot;,&quot;title&quot;:&quot;\u003cstring\u003e&quot;}]}}