An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
Hi Tran,
I don't believe Microsoft has published a documented maximum length specifically for the pages query parameter on the Document Intelligence :analyze endpoint. In practice, you're likely to encounter limits imposed by the underlying HTTP request line, Azure Front Door/API Gateway, or intermediary proxies before Document Intelligence itself processes the request. My expectation is that if the request exceeds the accepted request-line length, the service should return an HTTP error (such as 414 URI Too Long or 400 Bad Request) rather than silently truncating the pages parameter. Silent truncation would be problematic because it could produce incomplete OCR results without the client realizing it.
For very large page selections, I'd recommend minimizing the query string where possible by using page ranges (for example, 1-500,700-900) instead of enumerating every page. If the selection still becomes excessively long, another practical approach is to split the document into multiple analyze requests and merge the searchable PDFs afterward. This is a good question for the product team because an officially documented maximum request-line length or support for passing the page selection in the request body instead of the query string would make client implementations much more predictable.