> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bridger.kr/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /health

> Bridger Gateway 라이브니스 헬스체크 엔드포인트.

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

## Request

```http theme={null}
GET /health
```

* 인증: 없음
* Content-Type: 해당 없음

## Response 200

```json theme={null}
{
  "status": "healthy",
  "service": "mcp-gateway",
  "timestamp": "2026-02-09T05:00:00.000Z"
}
```

| 필드          | 타입          | 설명                      |
| ----------- | ----------- | ----------------------- |
| `status`    | `"healthy"` | 정상 기동                   |
| `service`   | string      | 서비스 식별자 (`mcp-gateway`) |
| `timestamp` | ISO 8601    | 응답 생성 시각                |

## 관련 엔드포인트

| 엔드포인트                  | 인증      | 설명                                                              |
| ---------------------- | ------- | --------------------------------------------------------------- |
| `GET /health`          | 없음      | 라이브니스 — 항상 `status: healthy` 반환                                 |
| `GET /health/ready`    | 없음      | 레디니스 — DB·Redis 등 의존성 점검. 정상 `200 healthy`, 장애 시 `503 degraded` |
| `GET /health/detailed` | API Key | 의존성별 상태·지연(latencyMs)을 포함한 상세 리포트                               |

`/health/ready` 응답 예시(의존성 점검):

```json theme={null}
{
  "status": "healthy",
  "service": "mcp-gateway",
  "timestamp": "2026-02-09T05:00:00.000Z",
  "checks": {
    "database": { "status": "healthy", "latencyMs": 3 },
    "redis": { "status": "healthy", "latencyMs": 1 }
  }
}
```

## cURL

```bash theme={null}
curl https://mcp.datari.kr/health
```

## Kubernetes Probe 예시

```yaml theme={null}
livenessProbe:
  httpGet:
    path: /health
    port: 8080
  initialDelaySeconds: 5
  periodSeconds: 10
readinessProbe:
  httpGet:
    path: /health/ready
    port: 8080
  initialDelaySeconds: 5
  periodSeconds: 5
```
