Replace one of an app's own health checks
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
appId*stringuuidcheckId*stringuuidIdempotency-Key?stringMakes retries safe. A repeated key with the same request returns the first result and sets
Idempotent-Replayed: true. The same key with a different request answers 409
idempotency.key_reused, and while the first request is still running 409
idempotency.in_progress. Results are kept for 24 hours. Server errors and refusals for lack
of sign-in or permission are not kept, so a retry runs again.
^[A-Za-z0-9_.:-]+$1 <= length <= 255application/json- body
name*stringlength <= 100kind*string"http""metric""cel""lua"http?metric?rule?How one kind of object is read. In CEL, the way Flux writes healthCheckExprs: healthy, progressing (in progress) and failed expressions over the object, read in the order failed, in progress, healthy; the object's status, spec and metadata are variables, and the whole object is data and object. In Lua, the way Argo CD writes resource.customizations.health: a script that gets the object as obj and returns a table with status and message.
The check as saved.
application/json- response
name*stringlength <= 100kind*string"http""metric""cel""lua"http?metric?rule?How one kind of object is read. In CEL, the way Flux writes healthCheckExprs: healthy, progressing (in progress) and failed expressions over the object, read in the order failed, in progress, healthy; the object's status, spec and metadata are variables, and the whole object is data and object. In Lua, the way Argo CD writes resource.customizations.health: a script that gets the object as obj and returns a table with status and message.
id*stringuuidenabled*booleancurl -X PUT 'https://wardn.example.com/api/v1/apps/497f6eca-6276-4993-bfeb-53cbbbba6f08/health/checks/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "kind": "http"}'{ "name": "string", "kind": "http", "http": { "service": "string", "port": 1, "method": "GET", "path": "string", "expectStatus": 0, "withinMillis": 100, "failures": 1 }, "metric": { "query": "string", "compare": "below", "threshold": 0.1 }, "rule": { "group": "string", "kind": "string", "language": "cel", "healthy": "string", "progressing": "string", "failed": "string", "message": "string", "script": "string" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "enabled": true}Remove one of an app's own health checks DELETE
Previous Page
Try a draft health check of the app against one of its deployments POST
Reads the draft against what the deployment runs now and says what it found for each object (or each pod behind a service, for an HTTP check). Nothing is saved and nothing in the cluster changes.