2019-07-05 02:50:48 -07:00
---
title: Management API
2021-06-21 15:59:31 -07:00
sort_rank: 8
2019-07-05 02:50:48 -07:00
---
# Management API
2020-10-27 02:50:37 -07:00
Prometheus provides a set of management APIs to facilitate automation and integration.
2019-07-05 02:50:48 -07:00
### Health check
```
GET /-/healthy
2022-08-16 12:06:26 -07:00
HEAD /-/healthy
2019-07-05 02:50:48 -07:00
```
This endpoint always returns 200 and should be used to check Prometheus health.
### Readiness check
```
GET /-/ready
2022-08-16 12:06:26 -07:00
HEAD /-/ready
2019-07-05 02:50:48 -07:00
```
This endpoint returns 200 when Prometheus is ready to serve traffic (i.e. respond to queries).
### Reload
```
PUT /-/reload
POST /-/reload
```
This endpoint triggers a reload of the Prometheus configuration and rule files. It's disabled by default and can be enabled via the `--web.enable-lifecycle` flag.
2019-09-28 06:38:51 -07:00
Alternatively, a configuration reload can be triggered by sending a `SIGHUP` to the Prometheus process.
2019-07-05 02:50:48 -07:00
### Quit
```
PUT /-/quit
POST /-/quit
```
This endpoint triggers a graceful shutdown of Prometheus. It's disabled by default and can be enabled via the `--web.enable-lifecycle` flag.
2019-09-28 06:38:51 -07:00
Alternatively, a graceful shutdown can be triggered by sending a `SIGTERM` to the Prometheus process.