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
}
'import requests
url = "https://app.miget.com/api/v1/apps/{uuid}/health_checks"
payload = {
"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
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
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
})
};
fetch('https://app.miget.com/api/v1/apps/{uuid}/health_checks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.miget.com/api/v1/apps/{uuid}/health_checks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'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
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.miget.com/api/v1/apps/{uuid}/health_checks"
payload := strings.NewReader("{\n \"liveness_probe_enabled\": true,\n \"readiness_probe_enabled\": true,\n \"startup_probe_enabled\": true,\n \"liveness_in_app_failure_notification_enabled\": true,\n \"liveness_email_failure_notification_enabled\": true,\n \"readiness_in_app_failure_notification_enabled\": true,\n \"readiness_email_failure_notification_enabled\": true,\n \"startup_in_app_failure_notification_enabled\": true,\n \"startup_email_failure_notification_enabled\": true,\n \"project_variables_enabled\": true,\n \"liveness_probe_path\": \"<string>\",\n \"readiness_probe_path\": \"<string>\",\n \"startup_probe_path\": \"<string>\",\n \"liveness_probe_initial_delay_seconds\": 123,\n \"liveness_probe_timeout_seconds\": 123,\n \"liveness_probe_period_seconds\": 123,\n \"liveness_probe_failure_threshold\": 123,\n \"readiness_probe_initial_delay_seconds\": 123,\n \"readiness_probe_timeout_seconds\": 123,\n \"readiness_probe_period_seconds\": 123,\n \"readiness_probe_failure_threshold\": 123,\n \"startup_probe_initial_delay_seconds\": 123,\n \"startup_probe_timeout_seconds\": 123,\n \"startup_probe_period_seconds\": 123,\n \"startup_probe_failure_threshold\": 123\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://app.miget.com/api/v1/apps/{uuid}/health_checks")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"liveness_probe_enabled\": true,\n \"readiness_probe_enabled\": true,\n \"startup_probe_enabled\": true,\n \"liveness_in_app_failure_notification_enabled\": true,\n \"liveness_email_failure_notification_enabled\": true,\n \"readiness_in_app_failure_notification_enabled\": true,\n \"readiness_email_failure_notification_enabled\": true,\n \"startup_in_app_failure_notification_enabled\": true,\n \"startup_email_failure_notification_enabled\": true,\n \"project_variables_enabled\": true,\n \"liveness_probe_path\": \"<string>\",\n \"readiness_probe_path\": \"<string>\",\n \"startup_probe_path\": \"<string>\",\n \"liveness_probe_initial_delay_seconds\": 123,\n \"liveness_probe_timeout_seconds\": 123,\n \"liveness_probe_period_seconds\": 123,\n \"liveness_probe_failure_threshold\": 123,\n \"readiness_probe_initial_delay_seconds\": 123,\n \"readiness_probe_timeout_seconds\": 123,\n \"readiness_probe_period_seconds\": 123,\n \"readiness_probe_failure_threshold\": 123,\n \"startup_probe_initial_delay_seconds\": 123,\n \"startup_probe_timeout_seconds\": 123,\n \"startup_probe_period_seconds\": 123,\n \"startup_probe_failure_threshold\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.miget.com/api/v1/apps/{uuid}/health_checks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"liveness_probe_enabled\": true,\n \"readiness_probe_enabled\": true,\n \"startup_probe_enabled\": true,\n \"liveness_in_app_failure_notification_enabled\": true,\n \"liveness_email_failure_notification_enabled\": true,\n \"readiness_in_app_failure_notification_enabled\": true,\n \"readiness_email_failure_notification_enabled\": true,\n \"startup_in_app_failure_notification_enabled\": true,\n \"startup_email_failure_notification_enabled\": true,\n \"project_variables_enabled\": true,\n \"liveness_probe_path\": \"<string>\",\n \"readiness_probe_path\": \"<string>\",\n \"startup_probe_path\": \"<string>\",\n \"liveness_probe_initial_delay_seconds\": 123,\n \"liveness_probe_timeout_seconds\": 123,\n \"liveness_probe_period_seconds\": 123,\n \"liveness_probe_failure_threshold\": 123,\n \"readiness_probe_initial_delay_seconds\": 123,\n \"readiness_probe_timeout_seconds\": 123,\n \"readiness_probe_period_seconds\": 123,\n \"readiness_probe_failure_threshold\": 123,\n \"startup_probe_initial_delay_seconds\": 123,\n \"startup_probe_timeout_seconds\": 123,\n \"startup_probe_period_seconds\": 123,\n \"startup_probe_failure_threshold\": 123\n}"
response = http.request(request)
puts response.read_body{
"message": "<string>"
}Update health checks
Configures Kubernetes health probes (liveness, readiness, startup) for the application. Health checks ensure your application is running correctly and ready to receive traffic.
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
}
'import requests
url = "https://app.miget.com/api/v1/apps/{uuid}/health_checks"
payload = {
"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
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
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
})
};
fetch('https://app.miget.com/api/v1/apps/{uuid}/health_checks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.miget.com/api/v1/apps/{uuid}/health_checks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'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
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.miget.com/api/v1/apps/{uuid}/health_checks"
payload := strings.NewReader("{\n \"liveness_probe_enabled\": true,\n \"readiness_probe_enabled\": true,\n \"startup_probe_enabled\": true,\n \"liveness_in_app_failure_notification_enabled\": true,\n \"liveness_email_failure_notification_enabled\": true,\n \"readiness_in_app_failure_notification_enabled\": true,\n \"readiness_email_failure_notification_enabled\": true,\n \"startup_in_app_failure_notification_enabled\": true,\n \"startup_email_failure_notification_enabled\": true,\n \"project_variables_enabled\": true,\n \"liveness_probe_path\": \"<string>\",\n \"readiness_probe_path\": \"<string>\",\n \"startup_probe_path\": \"<string>\",\n \"liveness_probe_initial_delay_seconds\": 123,\n \"liveness_probe_timeout_seconds\": 123,\n \"liveness_probe_period_seconds\": 123,\n \"liveness_probe_failure_threshold\": 123,\n \"readiness_probe_initial_delay_seconds\": 123,\n \"readiness_probe_timeout_seconds\": 123,\n \"readiness_probe_period_seconds\": 123,\n \"readiness_probe_failure_threshold\": 123,\n \"startup_probe_initial_delay_seconds\": 123,\n \"startup_probe_timeout_seconds\": 123,\n \"startup_probe_period_seconds\": 123,\n \"startup_probe_failure_threshold\": 123\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://app.miget.com/api/v1/apps/{uuid}/health_checks")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"liveness_probe_enabled\": true,\n \"readiness_probe_enabled\": true,\n \"startup_probe_enabled\": true,\n \"liveness_in_app_failure_notification_enabled\": true,\n \"liveness_email_failure_notification_enabled\": true,\n \"readiness_in_app_failure_notification_enabled\": true,\n \"readiness_email_failure_notification_enabled\": true,\n \"startup_in_app_failure_notification_enabled\": true,\n \"startup_email_failure_notification_enabled\": true,\n \"project_variables_enabled\": true,\n \"liveness_probe_path\": \"<string>\",\n \"readiness_probe_path\": \"<string>\",\n \"startup_probe_path\": \"<string>\",\n \"liveness_probe_initial_delay_seconds\": 123,\n \"liveness_probe_timeout_seconds\": 123,\n \"liveness_probe_period_seconds\": 123,\n \"liveness_probe_failure_threshold\": 123,\n \"readiness_probe_initial_delay_seconds\": 123,\n \"readiness_probe_timeout_seconds\": 123,\n \"readiness_probe_period_seconds\": 123,\n \"readiness_probe_failure_threshold\": 123,\n \"startup_probe_initial_delay_seconds\": 123,\n \"startup_probe_timeout_seconds\": 123,\n \"startup_probe_period_seconds\": 123,\n \"startup_probe_failure_threshold\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.miget.com/api/v1/apps/{uuid}/health_checks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"liveness_probe_enabled\": true,\n \"readiness_probe_enabled\": true,\n \"startup_probe_enabled\": true,\n \"liveness_in_app_failure_notification_enabled\": true,\n \"liveness_email_failure_notification_enabled\": true,\n \"readiness_in_app_failure_notification_enabled\": true,\n \"readiness_email_failure_notification_enabled\": true,\n \"startup_in_app_failure_notification_enabled\": true,\n \"startup_email_failure_notification_enabled\": true,\n \"project_variables_enabled\": true,\n \"liveness_probe_path\": \"<string>\",\n \"readiness_probe_path\": \"<string>\",\n \"startup_probe_path\": \"<string>\",\n \"liveness_probe_initial_delay_seconds\": 123,\n \"liveness_probe_timeout_seconds\": 123,\n \"liveness_probe_period_seconds\": 123,\n \"liveness_probe_failure_threshold\": 123,\n \"readiness_probe_initial_delay_seconds\": 123,\n \"readiness_probe_timeout_seconds\": 123,\n \"readiness_probe_period_seconds\": 123,\n \"readiness_probe_failure_threshold\": 123,\n \"startup_probe_initial_delay_seconds\": 123,\n \"startup_probe_timeout_seconds\": 123,\n \"startup_probe_period_seconds\": 123,\n \"startup_probe_failure_threshold\": 123\n}"
response = http.request(request)
puts response.read_body{
"message": "<string>"
}Authorizations
Bearer token for authentication. Format: 'Bearer {token}'
Headers
Workspace ID (uses default workspace if not provided)
Path Parameters
Application UUID
Body
Update health checks
Enable liveness probe (restarts container if unhealthy)
Enable readiness probe (removes from load balancer if not ready)
Enable startup probe (delays other probes until app starts)
Send in-app notification on liveness probe failure
Send email notification on liveness probe failure
Send in-app notification on readiness probe failure
Send email notification on readiness probe failure
Send in-app notification on startup probe failure
Send email notification on startup probe failure
Include project-level environment variables in health checks
HTTP endpoint path for liveness checks (e.g., /health)
HTTP endpoint path for readiness checks (e.g., /ready)
HTTP endpoint path for startup checks (e.g., /startup)
Seconds to wait before first liveness probe
Seconds before liveness probe times out
Interval between liveness probes in seconds
Consecutive failures before container restart
Seconds to wait before first readiness probe
Seconds before readiness probe times out
Interval between readiness probes in seconds
Consecutive failures before removing from load balancer
Seconds to wait before first startup probe
Seconds before startup probe times out
Interval between startup probes in seconds
Consecutive failures before giving up on startup
Response
Update health checks
Api_V1_Entities_Message model
Response message

