# Pagination

List endpoints are paginated by default, with a default and max page size of 1000. The one exception is for statically-sized values, such as `ListManagementOptions`. Pagination uses the following fields:

```protobuf
message PaginationRequest {
  optional int page_size = 1;
  optional string page_token = 2;
}
```

In gRPC requests, the pagination request and next page token go directly on the request and response messages:

```protobuf
message MySampleEndpointRequest {
  ...
  optional PaginationRequest pagination = 20;
}

message MySampleEndpointResponse {
  ...
  optional string next_page_token = 20;
}
```