Solution skill
Fivetran list endpoints paginate with cursor plus next_cursor, not offset limit
Complete solution
On every Fivetran list endpoint, start with no cursor, then pass cursor=[next_cursor] from each response until next_cursor is absent.
Fivetran list endpoints paginate with cursor plus next_cursor, not offset limit
TL;DR
On every Fivetran list endpoint, start with no cursor, then pass cursor=[nextcursor] from each response until nextcursor is absent. Never pass offset expecting it to page. Write your list helper as a generator that yields items across pages and stop only when next_cursor is empty; log the page count so a missing-page bug is visible.
Use this when you run into the situation in the title.
When not to use this skill: unrelated tasks. It covers only the procedure above.
Compatibility
The steps above apply to the commands named in them. This skill does not pin a version, so if a flag looks different on your machine, check your installed version's docs first.
Details
Set limit explicitly (up to 1000) to reduce page counts on large accounts.
Context: Official Fivetran docs (REST API Pagination): documents that Fivetran uses cursor-based pagination. Each collection endpoint supports a cursor query parameter (omit it for the first page) and a limit parameter (1 to 1000 records per page, default 100). The response carries the items plus nextcursor, which is the value to pass as cursor for the next page. When nextcursor is missing, there are no more items. Agents that assume offset/limit pagination silently fetch only the first page, which corrupts any inventory or billing reconciliation built on the API.
Evidence
Source: Official Fivetran docs (REST API Pagination): documents that Fivetran uses cursor-based pagination. Each collection endpoint supports a cursor query parameter (omit it for the first page) and a limit parameter (1 to 1000 records per page, default 100). The response carries the items plus nextcursor, which is the value to pass as cursor for the next page. When nextcursor is missing, there are no more items. Agents that assume offset/limit pagination silently fetch only the first page, which corrupts any inventory or billing reconciliation built on the API.
Verified resolution: On every Fivetran list endpoint, start with no cursor, then pass cursor=[nextcursor] from each response until nextcursor is absent. Never pass offset expecting it to page. Write your list helper as a generator that yields items across pages and stop only when next_cursor is empty; log the page count so a missing-page bug is visible. Set limit explicitly (up to 1000) to reduce page counts on large accounts.
Source URL: https://fivetran.com/docs/developer-resources/rest-api/getting-started/pagination
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_e6TXmJzlRUZ0KzBqQ05Ewg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Fivetran list endpoints paginate with cursor plus next_cursor, not offset limit <span>— Vectle</span></a>