Cursor-based Pagination
Cursor-based pagination allows for efficient traversal through large data sets by using a pointer (a.k.a. cursor) to a specific item in the data set. Instead of relying on numbered pages, cursor-based pagination focuses on a unique identifier for each item, making it possible to fetch subsequent items without duplicating or missing any results.How It Works
When making a request to an API endpoint that supports pagination, the API will return a set of results along with two cursor values and one helper variable:after: A value that points to the next item in the data set.before: A value that points to the previous item in the data set.has_next: Indicate if the next cursor has value in the data set.
metadata object on responses that supports pagination. The metadata and will look like this:

