Skip to main content
GET
https://searchcompany-main.up.railway.app
/
health
curl https://searchcompany-main.up.railway.app/health
{
  "status": "healthy"
}
Simple health check endpoint for monitoring and load balancer health probes.

Response

status
string
"healthy" if the API is running
curl https://searchcompany-main.up.railway.app/health
{
  "status": "healthy"
}

Usage

Railway Health Checks

Configure in railway.toml:
[healthcheck]
path = "/health"
interval = 30
timeout = 10

Docker Health Checks

HEALTHCHECK --interval=30s --timeout=10s \
  CMD curl -f http://localhost:8000/health || exit 1

Uptime Monitoring

Use this endpoint with services like:
  • UptimeRobot
  • Pingdom
  • Better Uptime
  • Railway’s built-in monitoring

Root Endpoint

There’s also a root endpoint at / that returns:
{
  "message": "Hello from Backend!"
}