Health check from xAPI

How can I check if a service is up or down from the HTTP API (xAPI)? (The ‘status’ key in the server JSON only represents “enabled” or “disabled”.) I think the CLI commands for getting the status are:
health-test monitorname
health-test port

The system.performance.get method reports statistics for number of times the status was determined to be up and down, but not the current state.

I found the answer to my own question. Server port status can be accessed using the xAPI call Slb.Virtual_server.FetchStatistics .