docs/daprdocs/content/en/reference/api/health_api.md

40 lines
643 B
Markdown

---
type: docs
title: "Health API reference"
linkTitle: "Health API"
description: "Detailed documentation on the health API"
weight: 1000
---
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
```
GET http://localhost:<daprPort>/v1.0/healthz
```
### HTTP Response Codes
Code | Description
---- | -----------
204 | dapr is healthy
500 | dapr is not healthy
### URL Parameters
Parameter | Description
--------- | -----------
daprPort | The Dapr port.
### Examples
```shell
curl -i http://localhost:3500/v1.0/healthz
```