Pagination

Cursor pagination SHOULD be preferred for most APIs — stable under concurrent mutations, consistent performance at any depth. Use offset pagination only when users need page numbers or data is relatively static.

Cursor response:

{
  "data": [ ... ],
  "pagination": {
    "next_cursor": "eyJpZCI6MTAwfQ==",
    "has_more": true
  }
}

Offset response:

{
  "data": [ ... ],
  "pagination": {
    "offset": 20,
    "limit": 10,
    "total": 142
  }
}

References:

version
1.0.2
tags
networking, pagination
author
Mike Fullerton
modified
2026-04-09

Change History

Version Date Author Summary
1.0.2 2026-04-09 Mike Fullerton Add trigger tags
1.0.1 2026-04-09 Mike Fullerton Reorganize into use-case directory
1.0.0 2026-03-27 Mike Fullerton Initial creation