Skip to content

Liveness probe

GET
/health
curl --request GET \
--url https://api.sulpayments.ch/health

/health, not /healthz: Google Frontend reserves the latter on run.app domains.

Service is up

Media typeapplication/json

Liveness answer for load balancers and uptime checks.

object
service
required
string
status
required

Always "ok" when the service is able to answer.

string
version
required
string
Example
{
"service": "api",
"status": "ok",
"version": "0.2.0"
}