Hi Mtz
v4.0 2024-11-30 (GA) is available for Read and Layout Models only while v3.0: 2022-08-31 (GA) for all models
http://localhost:5000/formrecognizer/documentModels/prebuilt-read:analyze?api-version=2024-11-30")
Above Syntax includes "formrecognizer" keyword which is v3.0
For V4.0, keyword is documentintelligence
Please use syntax mentioned official document [1] and let me know
Simpler Sample Syntax
POST {endpoint}/documentintelligence/documentModels/{modelId}:analyze?_overload=analyzeDocument&api-version=2024-11-30
Sample syntax for using prebulit layout with base 64 input
POST https://myendpoint.cognitiveservices.azure.com/documentintelligence/documentModels/prebuilt-layout:analyze?_overload=analyzeDocument&api-version=2024-11-30&pages=1-2,4&locale=en-US&stringIndexType=textElements
{
"base64Source": "e2Jhc2U2NEVuY29kZWRQZGZ9"
}
with url
POST https://myendpoint.cognitiveservices.azure.com/documentintelligence/documentModels/<modelid>:analyze?_overload=analyzeDocument&api-version=2024-11-30&pages=1-2,4&locale=en-US&stringIndexType=textElements { "urlSource": "http://host.com/doc.pdf" }
Thank you.