--- title: "Pagination" slug: "pagination" updated: 2023-03-23T15:27:40Z published: 2023-03-23T15:27:40Z canonical: "developers.torq.io/pagination" --- > ## Documentation Index > Fetch the complete documentation index at: https://developers.torq.io/llms.txt > Use this file to discover all available pages before exploring further. # Pagination Torq API supports bulk fetches via List API methods for several resources. For example, you can list all secrets and list all roles. These list API methods share a common structure, taking these two parameters: `pageSize` and `pageToken`. ## Page size Here's what you need to know about the `pageSize` parameter. - **Default value**: The default value for `pageSize` is 50. This means that if you don't provide a value for the parameter in the request, a maximum of 50 results will be returned per page. - **Maximum value**: 100. ## Page token When you perform a `List` operation and the response contains a value for the `pageToken` key, this indicates that there is an additional page to retrieve. To retrieve the next page of results, you need to make an identical request and provide the `pageToken` that was returned in the previous request.