Skip to main content


Information about pagination using a Relay style cursor connection.

type PageInfo {
hasNextPage: Boolean!
hasPreviousPage: Boolean!
startCursor: String
endCursor: String
total: Int!
count: Int!
currentPage: Int!
lastPage: Int!


hasNextPage (Boolean!)

When paginating forwards, are there more items?

hasPreviousPage (Boolean!)

When paginating backwards, are there more items?

startCursor (String)

The cursor to continue paginating backwards.

endCursor (String)

The cursor to continue paginating forwards.

total (Int!)

Total number of nodes in the paginated connection.

count (Int!)

Number of nodes in the current page.

currentPage (Int!)

Index of the current page.

lastPage (Int!)

Index of the last available page.