﻿# Exa subpages: keep parent and child acquisitions distinguishable

Track Exa subpage expansion as additional document discovery or acquisition, preserving child identities and validating mode and snapshot compatibility.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/guide-exa-subpages-parent-child-evidence/
Language: en

## Define the expansion task

A product homepage may link to the documentation section needed for an integration review. Asking for subpages can broaden the material returned from the starting URL. Decide whether the task actually needs that expansion and which child-page types matter. Otherwise the application can acquire unrelated marketing pages while believing it merely read the original document.

## Request bounded expansion

The [Contents reference](https://exa.ai/docs/reference/get-contents) defines `subpages` and `subpageTarget`. It notes that system constraints may limit the actual number of subpages crawled. Treat the requested count as configuration, then record the children actually returned. A smaller result does not establish that no other relevant child exists on the website.

## Keep parent and child identities

Preserve the starting URL and each returned child's identity in separate records linked by the expansion relationship. Inspect which content fields are actually present for a child before calling it a successfully read document. A child title and URL are useful discovery evidence, but they are not interchangeable with a captured body or a passage supporting a technical claim.

For an integration review, a homepage and its authentication reference can supply different findings. Attach the authentication statement to the child page that contains it. Do not attribute every expanded fact to the starting homepage simply because it initiated the request.

## Validate mode compatibility

The [Search quickstart](https://exa.ai/docs/search/quickstart) lists subpage content options among controls unsupported by `lite`. A wrapper must validate the selected mode rather than forwarding an expansion setting universally. An incompatible request is a configuration failure, distinct from an otherwise successful request that returned no suitable child pages.

## Keep historical acquisition separate

[Snapshot documentation](https://exa.ai/docs/search/snapshot) rejects subpage expansion alongside a historical cutoff. Build separate request paths when the application needs historical evidence and current exploration. Do not silently drop the cutoff to make expansion succeed; that changes the temporal assignment and can introduce later information into a historical comparison.

The local guides to [tool observations](/journal/learn-codex-tool-observation/) and [document revision handling](/journal/rag-document-updates-stale-chunk-citations/) help preserve that boundary. Test a parent with several children, a child lacking usable text, and an unsupported mode combination. The final evidence view should reveal which exact documents were discovered, which were read, and which remain unresolved.
