External Services

Replace the instance-wide default healthcheck of managed service containers

Changed on

Applies to containers created or recreated afterwards; nothing running changes. Send null for a value to use each engine's built-in timing.

put/external-services/healthcheck-defaults

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Request body

interval_secsinteger nullable

Seconds between checks once healthy (5–3600).

retriesinteger nullable

Consecutive failures that make the container unhealthy (1–10).

start_interval_secsinteger nullable

Seconds between checks while starting (1–60).

start_period_secsinteger nullable

Seconds after start during which failures do not count (0–600).

timeout_secsinteger nullable

Seconds one check may run (1–60, and shorter than the interval).

Example request

{
  "interval_secs": 60,
  "retries": 3,
  "start_interval_secs": 2,
  "start_period_secs": 90,
  "timeout_secs": 5
}

Response

Saved

Example response

{
  "engines": [
    {
      "builtin": {
        "interval_secs": 30,
        "retries": 3,
        "start_interval_secs": 2,
        "start_period_secs": 90,
        "timeout_secs": 5
      },
      "effective": {
        "timings": {
          "interval_secs": 30,
          "retries": 3,
          "start_interval_secs": 2,
          "start_period_secs": 90,
          "timeout_secs": 5
        }
      }
    }
  ],
  "overrides": {
    "interval_secs": 60,
    "retries": 3,
    "start_interval_secs": 2,
    "start_period_secs": 90,
    "timeout_secs": 5
  }
}

Changes