Cursor Pagination

Cursor pagination returns an opaque cursor representing a position in an ordered dataset.

Example:

GET /events?limit=50&after=eyJpZCI6MTAwMH0

The server uses the cursor to continue from a known position rather than skipping a large number of records. Cursor pagination is particularly useful for feeds, event streams, large datasets, and frequently changing collections.

The cursor should normally be opaque. Clients should not need to understand database-specific values encoded inside it.

Cursor Pagination