For the complete documentation index, see llms.txt.
Skip to main content
Version: 8.10 (unreleased)

Interface: PaginateOptions

Extended by​

Properties​

maxPages?​

optional maxPages?: number;

Safety cap on pages fetched (default: unbounded). A non-positive value (0 or negative) fetches no pages at all — the cap is enforced before the first request, so it is always honoured exactly.


mode?​

optional mode?: PaginationMode;

How to advance. auto prefers a cursor, falls back to offset.


signal?​

optional signal?: AbortSignal;

Abort between pages; a fired signal stops further fetches.