# Pagination

Cornerstone segments responses for certain GET operations into pages. In some instances, the API consumer is able to control the page size through a query parameter. For APIs where such a query parameter does not exist, Cornerstone defines the default page size. Responses can be paged through in sequential calls with the use of a 'page' or 'pagenumber' query parameter.

For the Reporting API, you will need to send the 'prefer' request header with a value of odata.maxpagesize=N, where N is your desired page size (for example, prefer = odata.maxpagesize=2000). You can then page through the result set using the @odata.nextlink parameter returned in the Reporting API's response.

For details on each API's paging capabilities, please refer to the specific API documentation.