API Reference
Server Health

Server Health

This endpoint provides information regarding the health of the service. It can also be used to test the authentication token

curl --request GET \
  --url http://localhost:3003/health

Example Response

{
  "serverStatus": "UP"
}
KeyValueType
serverStatusThe status of the serverstring
authenticatedIf the user has passed the correct authentication token, this will return trueboolean?

Authenticated Endpoint

The /authenticated endpoint is guarded by Auth0 and will return a 401 UnauthorizedError Error

Request

curl --request GET \
  --url http://localhost:3003/health/authenticated \
  --header 'Authorization: Bearer YOUR_TOKEN_HERE'

Example Response

{
  "serverStatus": "UP",
  "authenticated": true
}