Skip to main content
Version: main (unreleased)

PaginationMeta

Pagination metadata for paginated API responses

pageinteger<int64>required

Current page number (1-indexed)

Example: 1
limitinteger<int64>required

Number of items per page

Example: 20
totalinteger<int64>required

Total number of items across all pages

Example: 150
total_pagesinteger<int64>required

Total number of pages

Example: 8
has_nextbooleanrequired

Whether there is a next page

Example: true
has_prevbooleanrequired

Whether there is a previous page

Example: false
PaginationMeta
{
"page": 1,
"limit": 20,
"total": 150,
"total_pages": 8,
"has_next": true,
"has_prev": false
}