Reference · Limits

Web crawling

A crawl is bounded by how many pages it may collect, not by file size. The number you ask for is the number the crawl will use: a request for 200 pages collects up to 200, and is not silently reduced.

Page count

The page count is set per request, in the dashboard or in the max_pages field of POST /api/upload/website. It is a ceiling on what the crawl collects, not a target: a site with fewer pages yields fewer documents.

NameTypeDefaultDescription
Pages per crawl, default50Applied when the request does not specify a page count.
Pages per crawl, maximum100,000A request above this is capped, not refused: the job returns what it collected.

A large crawl is capped, not refused

The job returns what it collected
A request above the maximum stops at 100,000 pages and returns its result. Failing after twenty minutes of work would give you nothing; a bounded result gives you a usable corpus.

One page, one document

A page served at several addresses is indexed once. Without that guard, a site exposing the same content under dozens of URLs produced dozens of documents with the same text, all competing for the same answers.

Recrawling replaces

Crawling the same site again replaces each page it already held rather than adding a second copy. The document, its indexed fragments and its stored file are all replaced, so the corpus does not grow and no page is cited twice.

This is what makes a recrawl safe to run after you change the site: the new content takes the place of the old, page by page.