Document Intelligence API - analyzeResults endpoint question

Mario Andrei 20 Reputation points
2023-10-07T13:28:27.4133333+00:00

Hello,

I am trying to make sense of the Document Intelligence documentation and I have a question.

For context, my resource is on the free tier, and that means 500 pages that can be passed through the OCR endpoint.

The API consists of 2 steps:

https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/quickstarts/get-started-sdks-rest-api?view=doc-intel-3.0.0&preserve-view=true&pivots=programming-language-rest-api#analyze-document-post-request

In the first step, we POST the document to the endpoint, and in the second step, we GET the document by the means of the "analyzeResults" method.

Now my question is, for how long does Document Intelligence save the results in the "analyzeResults" endpoint?

The reason for my question: It would be nice not to have to POST the document every time and save time and resources and instead just use the GET based on the ID of the already posted document. This could be achieved by just saving the "analyzeResults" ID's from the initial POST in a database and just using the GET afterwards to save on operations.

Does anyone have an answer to this, because I can't find it in the docs?

Thank you in advance!

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,433 questions
0 comments No comments
{count} votes

Accepted answer
  1. santoshkc 5,000 Reputation points Microsoft Vendor
    2023-10-09T10:15:56.3666667+00:00

    Hi @Mario Andrei ,

    Thank you for your question about the Document Intelligence. I can help you with that.

    Document Intelligence temporarily stores data and results in Azure storage in the same region as the request. Your data is then deleted within 24 hours from the time an analyze request was submitted.

    For more info, please look into these documents:

    Document Intelligence (formerly Form Recognizer) frequently asked questions (FAQ) | Microsoft Learn

    Data, privacy, and security for Document Intelligence - Azure AI services | Microsoft Learn

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful