We are using Azure APIM in production.
We are developing service detail page where if it is not available, will update the page.
So i would like to know how to check health check for APIM?
In most of the case, it will be case of 502/503/504 http status code.
While at the request level, you could get a 5xx response for several reasons like the incorrect policies or backend failures.
For APIM itself, there are regional status endpoints that you can use which are described in the APIM multi-region deployment doc. Here is how it looks for reference
https://<service-name>-<region>-01.regional.azure-api.net/status-0123456789abcdef
Example from the docs
https://contoso-westus2-01.regional.azure-api.net/status-0123456789abcdef
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With