# Pagination

The search endpoint uses a custom pagination format:

```
{
  "pagination": {
    "current_page": 1,
    "num_pages": 5,
    "page_size": 20,
    "total_count": 100
  },
  "products": [...],
  "facets": [...],
  "sorters": [...]
}
```

Page numbers are 1-indexed. The default page size is controlled by the `SEARCH_DEFAULT_PAGE_SIZE` dynamic setting and can be overridden via the `page_size` parameter. The maximum allowed page size is 250 items.
