Skip to main content

Metrics and Aggregation

Endpoint

POST https://api-indexly.ripplefy.net/index/{index_name}/search/agg

Payload

ParameterTypeDescription
queryobjectJSON object with search criteria.
sortarraySort criteria for search results.
aggregateobjectAggregation metrics for certain fields.

Example

curl --location 'https://api-indexly.ripplefy.net/index/{index_name}/search/agg' \
--header 'Content-Type: application/json' \
--data '{
"query": {
"name": ["{name1}", {name2}],
...
},
"aggregate": {
"price": ["avg", "min", "max", "count"],
...
},
}'