WebApp
Web Apps

Report the web apps that keep going wrong

Changed on

This function reports the web applications the scheduled health check has had the most trouble with, worst first, with a breakdown of what was wrong each time.

An account whose applications could not be read is named in metadata.output.warnings and left out, rather than failing the whole report: a partial answer that says so is more use than none.

get/WebApp/flapping_apps

Request

  • Base URL
    https://whm-server.tld:2087/json-api
  • Auth
    HTTP basic

Query parameters

daysinteger
Example:7

How far back to look, in days.

limitinteger
Example:20

The greatest number of applications to name.

Response

HTTP Request was successful.

Example response

{
  "data": {
    "apps": [
      {
        "app": "my-app",
        "causes": {
          "out_of_memory": 6,
          "wedged": 3
        },
        "domain": "my-app.example.com",
        "incidents": 9,
        "last_cause": "out_of_memory",
        "last_seen": "2026-09-15T14:03:22.000Z",
        "restarts_recommended": 4
      }
    ],
    "days": 7
  },
  "metadata": {
    "command": "flapping_apps",
    "namespace": "WebApp",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}

Changes