← The Signal

Before AI Summarizes All Your Records, Make Sure It Retrieved Them All

A practical guide to pagination in AI integrations: detect partial results, follow continuation links and show Philippine operators what an answer actually covers.

By · AI-assisted editorial · Method & corrections

Kooya mascot pulls an accordion of cream record cards with lime continuation tabs from a black archive cabinet. Conceptual illustration.FIELD NOTE / ai pagination complete records philippines
EXECUTIVE SIGNALS
  • A successful API response can contain only part of the matching collection.
  • Page size is a delivery setting, not proof that every record was retrieved.
  • Partial scans need visible coverage and stopping reasons.
  • Use a controlled test collection to check omissions and duplicate records.
01

A convincing summary can hide an incomplete collection

Consider a hypothetical Philippine support manager asking which unresolved cases need attention before a long weekend. The connector returns a page of cases and the assistant writes a confident summary. Every quoted case may be real while the answer still omits urgent cases on later pages. This is a retrieval failure that better wording cannot fix.

Kooya recommends treating “all” as an explicit acceptance condition. Decide which workspace, status, date range and permission scope the request covers. Then require the connector to report whether it reached the end of that collection. A result may be complete within the caller’s access without representing the entire company.

02

Follow the service’s continuation mechanism

Microsoft Graph documents an @odata.nextLink URL when more pages are available. Applications should follow that complete URL until the service no longer returns it. The documentation also warns that page-size behaviour varies by API and that a page can contain zero results. An empty page alone is therefore not a universal stopping rule.[1]

GitHub’s REST documentation uses Link response headers to expose additional pages, including a next-page relation where applicable. Increasing per_page does not eliminate the need to paginate. The relevant endpoint documentation remains the authority for its supported controls.[2]

Keep this behaviour in the integration code rather than asking a language model to invent page URLs. The connector should return records alongside a small coverage report that the assistant can explain.

03

Make partial completion visible to the operator

For each run, retain the requested filters, start and finish times, pages successfully read, unique records collected and the reason retrieval stopped. Distinguish a completed scan from a timeout, permission error, budget cap or deliberate sample. Those are different states even when each produces a useful paragraph.

A suitable partial answer might say: “I reviewed the records retrieved so far; the remaining pages have not been checked.” Do not turn an interruption into a claim that no further urgent cases exist. Where the task may trigger action, require a person to accept the narrower scope before proceeding.

04

Test boundaries rather than the happy first page

Build a synthetic collection with known identifiers and place important test records beyond the first page. Include an empty intermediate response when supported by the API contract, a repeated record, a failed later request and records that the caller cannot access. Compare the returned identifier set against the expected accessible set.

Separately test changing data. If records can be created or reordered during a scan, ask whether the provider offers snapshot or change-tracking semantics. Do not promise a point-in-time inventory unless the integration can support it. Recording the scan interval is more honest than silently presenting a moving collection as a frozen ledger.

05

Keep completeness and summarization as separate checks

After retrieval, reconcile identifiers before asking the model to group or summarize. Deduplicate by a stable business identifier where appropriate, retaining the original records for inspection. Then check whether the narrative faithfully reflects the retrieved data. A complete dataset can still produce a poor summary; an excellent summary can still describe an incomplete dataset.

For procurement, request a demonstration with enough test records to cross several pages and deliberately interrupt the scan. The useful result is not merely a longer answer. It is a system that tells the operator what it has checked, what remains unknown and what must happen before anyone acts on the result.

Once retrieval is complete, review the exact scope before letting AI change records.

FREQUENT SIGNALS

QUESTIONS PEOPLE ACTUALLY ASK.

Does a larger page size solve the problem?

No. It can reduce requests, but the collection may still exceed that size. Follow the endpoint’s continuation contract.

Should every AI question scan every record?

No. A bounded sample or targeted search may be appropriate if the user understands its scope. The mistake is presenting partial coverage as exhaustive.

Is this the same as preventing duplicate writes?

No. Pagination concerns reading the intended collection. Duplicate-write controls govern what happens when an action is retried. Both may matter in the same workflow.

SOURCE DESK

PRIMARY SOURCES, NOT VIBES.

  1. Paging Microsoft Graph data in your appMicrosoft · 2025-04-03
  2. Using pagination in the REST APIGitHub · Accessed 13 November 2026
FROM READING TO BUILDING

MAKE THE WORK MOVE.

KEEP FOLLOWING THE SIGNAL