PUT
/
api
/
v1
/
apps
/
{uuid}
/
health_checks
Update health checks
curl --request PUT \
  --url https://app.miget.com/api/v1/apps/{uuid}/health_checks \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "liveness_probe_enabled": true,
  "readiness_probe_enabled": true,
  "startup_probe_enabled": true,
  "liveness_in_app_failure_notification_enabled": true,
  "liveness_email_failure_notification_enabled": true,
  "readiness_in_app_failure_notification_enabled": true,
  "readiness_email_failure_notification_enabled": true,
  "startup_in_app_failure_notification_enabled": true,
  "startup_email_failure_notification_enabled": true,
  "project_variables_enabled": true,
  "liveness_probe_path": "<string>",
  "readiness_probe_path": "<string>",
  "startup_probe_path": "<string>",
  "liveness_probe_initial_delay_seconds": 123,
  "liveness_probe_timeout_seconds": 123,
  "liveness_probe_period_seconds": 123,
  "liveness_probe_failure_threshold": 123,
  "readiness_probe_initial_delay_seconds": 123,
  "readiness_probe_timeout_seconds": 123,
  "readiness_probe_period_seconds": 123,
  "readiness_probe_failure_threshold": 123,
  "startup_probe_initial_delay_seconds": 123,
  "startup_probe_timeout_seconds": 123,
  "startup_probe_period_seconds": 123,
  "startup_probe_failure_threshold": 123
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token for authentication. Format: 'Bearer {token}'

Headers

X-Workspace-Id
string

Workspace ID (uses default workspace if not provided)

Path Parameters

uuid
string
required

Application UUID

Body

application/json

Update health checks

liveness_probe_enabled
boolean

Enable liveness probe (restarts container if unhealthy)

readiness_probe_enabled
boolean

Enable readiness probe (removes from load balancer if not ready)

startup_probe_enabled
boolean

Enable startup probe (delays other probes until app starts)

liveness_in_app_failure_notification_enabled
boolean

Send in-app notification on liveness probe failure

liveness_email_failure_notification_enabled
boolean

Send email notification on liveness probe failure

readiness_in_app_failure_notification_enabled
boolean

Send in-app notification on readiness probe failure

readiness_email_failure_notification_enabled
boolean

Send email notification on readiness probe failure

startup_in_app_failure_notification_enabled
boolean

Send in-app notification on startup probe failure

startup_email_failure_notification_enabled
boolean

Send email notification on startup probe failure

project_variables_enabled
boolean

Include project-level environment variables in health checks

liveness_probe_path
string

HTTP endpoint path for liveness checks (e.g., /health)

readiness_probe_path
string

HTTP endpoint path for readiness checks (e.g., /ready)

startup_probe_path
string

HTTP endpoint path for startup checks (e.g., /startup)

liveness_probe_initial_delay_seconds
integer<int32>

Seconds to wait before first liveness probe

liveness_probe_timeout_seconds
integer<int32>

Seconds before liveness probe times out

liveness_probe_period_seconds
integer<int32>

Interval between liveness probes in seconds

liveness_probe_failure_threshold
integer<int32>

Consecutive failures before container restart

readiness_probe_initial_delay_seconds
integer<int32>

Seconds to wait before first readiness probe

readiness_probe_timeout_seconds
integer<int32>

Seconds before readiness probe times out

readiness_probe_period_seconds
integer<int32>

Interval between readiness probes in seconds

readiness_probe_failure_threshold
integer<int32>

Consecutive failures before removing from load balancer

startup_probe_initial_delay_seconds
integer<int32>

Seconds to wait before first startup probe

startup_probe_timeout_seconds
integer<int32>

Seconds before startup probe times out

startup_probe_period_seconds
integer<int32>

Interval between startup probes in seconds

startup_probe_failure_threshold
integer<int32>

Consecutive failures before giving up on startup

Response

Update health checks

Api_V1_Entities_Message model

message
string
required

Response message