Health

Returns the current health status of the OpenStock API.

get/health

Request

  • Base URL
    https://api.openstock.sh
  • URL
    https://api.openstock.sh/health
  • Auth
    none declared

Response

Service is healthy

okboolean required

Whether the service is healthy

environmentstring required

Deployment environment name

Example response

{
  "ok": true,
  "environment": "local"
}

Changes