Hello @João Pedro Prediger , Thanks for using Microsoft Q&A Platform.
If you are working with v3.1 API Version:2023-07-31
then the request URL contains formrecognizer
. However, V4 ``2024-02-29-preview
version contains documentintelligence
in the URL.
Please try to change your request
curl --location '[ENDPOINT]/documentintelligence/documentModels/prebuilt-read:analyze?api-version=2023-07-31' \
Replace documentintelligence
with formrecognizer
as described below. Here is the reference documentation: https://learn.microsoft.com/en-us/rest/api/aiservices/document-models/analyze-document?view=rest-aiservices-v3.1%20(2023-07-31)&tabs=HTTP
{endpoint}/formrecognizer/documentModels/{modelId}:analyze?api-version=2023-07-31
Here is the migration guide; https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/sdk-overview-v4-0?view=doc-intel-4.0.0&tabs=csharp#supported-clients
I hope this helps.
Regards,
Vasavi
-Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.