Get list of all aggregations

Get list of all aggregations

Returns a list of all filter aggregations (facets) configured for the current instance. Aggregations define the filters available in search results.

Requires authentication.

Request

GET /aggregation

Headers

HeaderValue
AuthorizationBearer <token>

Response

Returns a JSON array of aggregation objects.

Response Body

FieldTypeDescription
idintegerUnique aggregation ID.
titlestringDisplay title shown in the filter UI.
fieldstringThe document field this aggregation is based on.
typestringAggregation type.
keystringMachine-readable key used in search requests and responses.
activebooleanWhether this aggregation is currently active.
positionnumberDisplay order position.
sortingstringHow the aggregation values are sorted.
showCountbooleanWhen true, the count of matching documents is shown next to each value.
showActiveOnTopbooleanWhen true, selected filter values are shown at the top.
useAttributeTitlebooleanWhen true, uses the attribute's own title instead of the configured title.
Headers
string
required

Makaira Instance ID

Response
200

OK

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!