Apps and sources
PreviewGet one of an app's own health checks
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
appId*stringFormat
uuidcheckId*stringFormat
uuidThe check.
application/json- response
name*stringLength
length <= 100kind*stringValue in
"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*stringFormat
uuidenabled*booleancurl -X GET 'https://wardn.example.com/api/v1/apps/497f6eca-6276-4993-bfeb-53cbbbba6f08/health/checks/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "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}