메인 콘텐츠로 건너뛰기
서비스가 정상 기동되었는지 확인하는 가장 가벼운 엔드포인트입니다. 인증이 필요 없으며, 로드밸런서·Kubernetes liveness probe에 그대로 사용할 수 있습니다.

Request

GET /health
  • 인증: 없음
  • Content-Type: 해당 없음

Response 200

{
  "status": "healthy",
  "service": "mcp-gateway",
  "timestamp": "2026-02-09T05:00:00.000Z"
}
필드타입설명
status"healthy"정상 기동
servicestring서비스 식별자 (mcp-gateway)
timestampISO 8601응답 생성 시각

관련 엔드포인트

엔드포인트인증설명
GET /health없음라이브니스 — 항상 status: healthy 반환
GET /health/ready없음레디니스 — DB·Redis 등 의존성 점검. 정상 200 healthy, 장애 시 503 degraded
GET /health/detailedAPI Key의존성별 상태·지연(latencyMs)을 포함한 상세 리포트
/health/ready 응답 예시(의존성 점검):
{
  "status": "healthy",
  "service": "mcp-gateway",
  "timestamp": "2026-02-09T05:00:00.000Z",
  "checks": {
    "database": { "status": "healthy", "latencyMs": 3 },
    "redis": { "status": "healthy", "latencyMs": 1 }
  }
}

cURL

curl https://mcp.datari.kr/health

Kubernetes Probe 예시

livenessProbe:
  httpGet:
    path: /health
    port: 8080
  initialDelaySeconds: 5
  periodSeconds: 10
readinessProbe:
  httpGet:
    path: /health/ready
    port: 8080
  initialDelaySeconds: 5
  periodSeconds: 5