Learn how to navigate through large datasets using cursor-based pagination
Parameter | Type | Default | Description |
---|---|---|---|
limit | integer | 25 | Number of items to return (1-100) |
startingAfter | string | - | Cursor for forward pagination |
endingBefore | string | - | Cursor for backward pagination |
orderBy | string | createdAt | Field to sort by |
sort | string | desc | Sort direction (asc or desc ) |
id
of the last item as startingAfter
id
of the first item as endingBefore
startingAfter
and endingBefore
select[]