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 响应码

代码说明
204dapr is healthy
500dapr is not healthy

URL 参数

参数说明
daprPortDapr 端口。

示例

curl http://localhost:3500/v1.0/healthz