status of ok confirms all systems are functioning normally.
Endpoint
Response
Returns HTTP 200 OK under normal operating conditions. The response body describes the environment, overall status, and per-dependency health information.string
The environment the API is currently running in. Possible values:
localdevelopmentstagingproductiontest
string
Overall operational status of the API:
ok— all systems healthyerror— one or more dependencies are degraded or unreachableshutting_down— the API is in the process of shutting down gracefully (e.g. during a deployment)
object
An object where each key is a named dependency (e.g.
database, cache) and each value describes that dependency’s health status. Present for dependencies that are healthy or informational.object
An object where each key is a named dependency and each value describes the error condition. Populated only when one or more dependencies are in an unhealthy state.