> For the complete documentation index, see [llms.txt](https://docs.layerlens.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.layerlens.ai/more-in-this-section-9/pagination.md).

# Pagination

Pagination over large list endpoints.

```python
# Iterator (preferred)
for page in client.evaluations.iter_pages(page_size=100):
 for e in page: process(e)

# Manual cursor
cursor = None
while True:
 res = client.evaluations.list(cursor=cursor, page_size=100)
 for e in res.items: process(e)
 if not res.next_cursor: break
 cursor = res.next_cursor
```

## See also

* [Cookbook: pagination](/more-in-this-section-9/pagination-1.md)
