Skip to content

Health

GET /health

Check relayer service health including Ethereum connectivity, Redis queue, and storage.

bash
curl https://mainnet.relayer.ryze.pro/api/v1/health

Response 200

json
{
  "ok": true,
  "status": "healthy",
  "service": "ryze-relayer",
  "version": "1.0.0",
  "checks": {
    "ethereum": "ok",
    "redis": "ok",
    "storage": "ok"
  },
  "timestamp": "2026-04-15T12:00:00Z",
  "execution": {
    "last_batch_id": "550e8400-e29b-41d4-a716-446655440000",
    "last_tx_hash": "0xabc123...",
    "last_batch_status": "confirmed",
    "last_executed_at": "2026-04-15T11:59:50Z",
    "queue_length": 15,
    "queue_pending": 3
  }
}

Response 503

Returned when critical dependencies are down.

Fields

FieldTypeDescription
okbooleanOverall health
statusstring"healthy" or "unhealthy"
checks.ethereumstringRPC connectivity
checks.redisstringQueue connectivity
checks.storagestringPostgreSQL connectivity
execution.queue_lengthnumberTotal intents in queue
execution.queue_pendingnumberIntents waiting for batch
execution.last_batch_statusstringLast batch result