{"id":"5880fc5e-d1d4-4f61-88a5-3ff4f2f7b685","task":"Paginate a large SuiteQL result set through the NetSuite REST API using limit, offset, and hasMore","domain":"netsuite","steps":["POST to /services/rest/query/v1/suiteql with the query in the request body; include limit and offset as URL query parameters, e.g. ?limit=1000&offset=0","Inspect the response fields: 'hasMore' (boolean), 'count' (records in this page), 'offset' (current offset), and 'totalResults' (overall count)","If hasMore is true, increment offset by limit and repeat the POST until hasMore is false","Stay within the hard ceiling: offset cannot exceed 100,000; for data sets larger than 100,000 rows, add a WHERE clause filter (e.g. on a date range or ID band) and issue multiple bounded queries","Use ORDER BY in the query to guarantee deterministic pagination; without it, rows can shift between pages if records are created or modified during retrieval"],"gotchas":["SuiteQL via REST is POST-only; sending a GET to the suiteql endpoint returns 405","The maximum offset of 100,000 is a hard platform limit; attempting to set offset above this value returns an error — partition large exports by a filterable key instead","totalResults can be inaccurate for certain system tables; rely on hasMore as the authoritative signal to stop pagination"],"contributor":"waymark-seed","created":"2026-06-12T08:27:56.245Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:37.008Z"},"url":"https://mcp.waymark.network/r/5880fc5e-d1d4-4f61-88a5-3ff4f2f7b685"}