Azure Content Understanding API Taking Excessive Time (Timeout Issue) - Custom Analyzer
<strong>Service</strong>: Azure Foundry > Content Understanding > Analyzer Model
<strong>Issue Description:</strong>
We're experiencing a significant performance difference when using the Content Understanding Analyzer model between the Azure Web Console and the API endpoint.
When using the Azure Web Console, the model processes the same file consistently within 5–10 seconds.
When invoking the same analyzer via the API endpoint, Sometimes, the response time exceeds the 120-second timeout limit.
Even after extending the timeout to 320 seconds, the API call still fails to return a JSON response.
<strong>Steps to Reproduce:</strong>
Upload and process a file using the Azure Web Console – completes in ~5–10 seconds.
Send the same file to the Analyzer model via the API – results in timeout (>120s and >320s).
<strong>Expected Behavior:</strong>
The API endpoint should process the file with similar performance to the Web Console or within acceptable API timeout limits.
<strong>Actual Behavior:</strong>
The API call does not return a response within even 320 seconds.
<strong>Request for Support:</strong>
We would appreciate your assistance in identifying the cause of this performance discrepancy and guidance on how to resolve or optimize API response times.