GET /v1/work_orders appears inconsistent when result sets exceed 10k records.
Observed:
- Using
page+per_pageparameters - Records 9,001–10,000: returns as expected
- Records 10,001+: duplicates from previous pages, gaps, or empty
dataarray
Link headers present in response. Documentation mentions cursor-based pagination but does not specify parameter names.
Questions:
- Is offset pagination deprecated for large result sets?
- What are the exact cursor parameter names (
cursor,after,start_after)? - Is cursor value the
idfield or a separate token? - Maximum
per_pagelimit?
- Account: ~45k work orders
per_page=100(also tried 50, 200)- Endpoint:
/v1/work_orders?status=completed&created_after=2024-01-01
{
"data": [...],
"meta": {
"total": 45231,
"page": 100,
"per_page": 100
}
}