Skip to content

Liveness and readiness probe

GET
/health
curl --request GET \
--url https://api.aetherpush.com/health

Reports the health of the API and its dependencies (PostgreSQL, Redis, blob storage). Returns 200 with status: UP when all configured dependencies are healthy; 503 with status: DOWN otherwise.

Suitable for use as a Railway / Kubernetes liveness probe.

All dependencies healthy.

Media typeapplication/json
object
status
required
string
Allowed values: UP DOWN
version
required
string
uptime
required

Process uptime in seconds.

number
details
required

Per-dependency health (PostgreSQL, Redis, blob storage).

object
key
additional properties
string
Example
{
"status": "UP",
"version": "0.1.0",
"uptime": 12345.67,
"details": {
"postgres": "UP",
"redis": "UP",
"blobStorage": "UP",
"responseTime": "42ms"
}
}

One or more dependencies are unhealthy or unreachable.

Media typeapplication/json
object
status
required
string
Allowed values: UP DOWN
version
required
string
uptime
required

Process uptime in seconds.

number
details
required

Per-dependency health (PostgreSQL, Redis, blob storage).

object
key
additional properties
string
Example
{
"status": "UP",
"version": "0.1.0"
}