post
https://{yourinstance}.makaira.io/filter
Get list aggreations
Returns paginated filter aggregation values. Used to populate filter dropdowns in the admin UI.
Requires authentication.
Request
POST /filter
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Content-Type | application/json |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
sort | string | No | Field to sort by. |
direction | string | No | Sort direction: asc or desc. |
offset | integer | No | Pagination offset. |
count | integer | No | Number of results to return. |
Example Request
{
"sort": "title",
"direction": "asc",
"offset": 0,
"count": 20
}Response
Returns a paginated list of filter values.
200OK

