> ## Documentation Index
> Fetch the complete documentation index at: https://docs.meitner.se/llms.txt
> Use this file to discover all available pages before exploring further.

# Pagination

> How to use pagination to limit the number of items returned by an endpoint.

List endpoints support pagination using the `offset` and `limit` query parameters:

* `offset` – Number of items to skip (default: `0`)
* `limit` – Maximum number of items to return (default: `50`)

### Example

```
GET /student?offset=50&limit=25
```

Paginated responses include a `pagination` object with the following fields:

```json theme={null}
{
  "data": [ /* array of results */ ],
  "pagination": {
    "offset": 50,
    "limit": 25,
    "total": 237
  }
}
```

This lets clients know how many items exist in total and how to page through the results.
