TECHNOLOGY

Tavily Map and Crawl: enumerate before spending extraction budget

In this article
THE QUICK TAKE

A URL inventory measures discovery; extracted bodies measure acquisition. Keep those budgets and coverage counts separate.

Decide what the next artifact contains

A documentation migration starts with a practical question: which pages belong to the obsolete SDK section? The first useful artifact may be a reviewable URL inventory, not a large text corpus. Choose the operation around that artifact so an editor can remove unrelated pages before the application spends effort processing their bodies.

Use Map for enumeration

The Map reference defines a root URL and traversal controls. max_depth bounds exploration distance, max_breadth controls link following, and limit caps processed links. Store all of them with the inventory. Reaching a limit explains why enumeration stopped; it does not prove the section contains no additional pages.

Constrain the graph deliberately

Map also provides path and domain selection or exclusion patterns. Test those patterns against representative URLs before using the inventory as a migration checklist. Separately configure external-link inclusion; a documentation page can link to another product or an unrelated community site. A natural-language instruction is useful context, but explicit controls make traversal boundaries inspectable.

Choose Crawl when bodies are needed

Crawl combines traversal with extracted content. Its extraction and format controls belong to the content stage, even when the same request also governs graph exploration. Do not describe every discovered URL as a fully read document. Inspect which returned records contain usable bodies and which text selection settings applied.

For an SDK migration, a narrow inventory followed by review may avoid collecting older examples outside the supported path. A broader Crawl can be convenient when all pages within the chosen boundary are needed. These are workflow choices, not a claim that either endpoint always costs less or finds more.

Extract the reviewed subset

The Extract endpoint supports a follow-up over known addresses. Keep the reviewed inventory and acquisition outcomes together. Count discovered links, accepted links, successfully acquired bodies, and documents still awaiting review separately. Otherwise a full-looking index can conceal large gaps in page acquisition.

The existing guides to workspace index resolution and webpage text cleaning help with later processing. Validate a small documentation branch with a known nested page and an external link, checking that each control affects the intended stage before expanding the migration scope.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles