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 Request

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

HTTP Response Codes

CodeDescription
204dapr is healthy
500dapr is not healthy

URL Parameters

ParameterDescription
daprPortThe Dapr port.

Examples

  1. curl -i http://localhost:3500/v1.0/healthz

Last modified July 20, 2022: Include protocol response headers when checking the healthz output (f7796d04)