Health API reference

Detailed documentation on the health API

Dapr provides health checking probes that can be used as readiness or liveness of Dapr.

Get Dapr health state

Gets the health state for Dapr.

HTTP 请求

GET http://localhost:<daprPort>/v1.0/healthz

HTTP 响应码

代码 描述
204 dapr is healthy
500 dapr is not healthy

URL 参数

参数 描述
daprPort Dapr 端口。

示例

curl http://localhost:3500/v1.0/healthz
Last modified January 1, 0001