Documentation Index
Fetch the complete documentation index at: https://developers.factify.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
All list endpoints use cursor-based pagination for reliable, consistent results. The SDK returns an async iterable that you can consume usingfor await...of.
Auto-Pagination (Recommended)
The SDK handles pagination automatically:Manual Pagination
For manual control over pagination, use thepageToken from the response:
Pagination Response
| Field | Description |
|---|---|
next_page_token | Opaque token for the next page (absent on last page) |
Parameters
| Parameter | Type | Description |
|---|---|---|
pageSize | number | Results per page (default: 50, max: 100) |
pageToken | string | Cursor from previous response |
Pagination uses opaque cursor tokens. Do not decode or construct tokens manually.
Best Practices
- Use auto-pagination - Let the SDK handle fetching pages for you
- Set appropriate page sizes - Larger pages mean fewer requests but more data per response
- Don’t store cursors long-term - Cursors may expire; fetch fresh data when needed
- Handle empty pages - The last page may have fewer items than
pageSize