@Abhay Chandramouli Thanks for reaching out. To check the health of Azure APIM service you can use the health probes feature of Azure AppGW.
When you configure health probes for AppGW, it sends HTTP requests to the backend pool members to check their health. If the backend pool member responds with a 200 OK status code, it is considered healthy. If the backend pool member responds with a non-200 status code, it is considered unhealthy.
To check the health of APIM using probes, you need to add the APIM endpoints to the backend pool of the AppGW. Then, you can configure the health probes to send HTTP requests to the APIM endpoints to check their health.
To configure health probes for APIM:
Add the APIM endpoints to the backend pool of the AppGW. You can do this by creating a backend pool and adding the APIM endpoints as backend targets.
Configure the health probes for the backend pool. You can configure the health probes to send HTTP requests to the APIM endpoints to check their health. You can specify the HTTP method, path, and status code for the health probe.
Monitor the health of the APIM endpoints using the AppGW health probes. You can view the health status of the backend pool members in the AppGW backend health status page.
Note that the health probes feature of AppGW only checks the health of the backend pool members. It does not check the health of the APIM service itself. If you want to check the health of the APIM service, you can use the Azure Monitor service to monitor the APIM service and its component.
refer this blog for more information: https://techcommunity.microsoft.com/t5/azure-paas-blog/integrating-api-management-with-app-gateway-v2/ba-p/1241650
do let me know incase of further queries, I would be happy to assist you.