# Pagination

> How list endpoints return results a page at a time.

List endpoints return results newest first, a page at a time. Each page comes with a cursor that points to the next one.

```bash
curl \
  -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.reminix.com/v1/workspace/audit-events?limit=25"
```

```json
{
  "items": [
    {
      "id": "aud_6b2f9e1c-3d4a-4f8b-9e7c-1a2b3c4d5e6f",
      "action": "workspace.member.invited",
      "createdAt": "2026-08-19T12:00:00.000Z"
    }
  ],
  "nextCursor": "eyJ0IjoiMjAyNi0wOC0uLi4ifQ"
}
```

To get the next page, send the cursor back as it is:

```bash
curl \
  -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.reminix.com/v1/workspace/audit-events?limit=25&cursor=eyJ0IjoiMjAyNi0wOC0uLi4ifQ"
```

Keep going until `nextCursor` is `null`, which means you’ve reached the last page.

## Good to know

* `limit` can be from 1 to 100. It’s 25 if you don’t set it.
* Don’t build or change a cursor yourself. Sending one we didn’t give you returns `invalid_request`.
* Items added while you’re paging won’t make you skip or repeat any.
* Items may gain new fields over time, but we won’t rename existing ones.
* A few lists are always short, such as webhook endpoints and event types. They come back as one page, and their `nextCursor` is `null`. They have the same shape as every other list, so the same code reads them.
