Skip to main content
POST
aggregate detectors

Authorizations

Authorization
string
header
required

Authentication

Body

application/json
agg
object[]
required

Aggregation functions with fields to aggregate. Represent SQL 'select' in 'group by' query. !!!IMPORTANT!!! Use with caution, because usage with JOIN can require aggregate with 'distinct'

Minimum array length: 1
Example:
where
string

Query string to search for data. Represent SQL 'where'

Example:

"field1='value' and field2<>'value2'"

groupBy
string[]

Group by parameter for aggregation query

sort
object[]

Sorting for the search

from
integer<int32>

Starting document offset

Required range: x >= 0
Example:

0

size
integer<int32>

The number of hits to return

Required range: 0 <= x <= 10000
Example:

10

Response

200 - application/json

OK