---
title: "Health check general de la API"
method: GET
path: "/health"
tags: ["Health"]
---

# Health check general de la API

`GET /health`

## Request

- Base URL: `http://localhost:8081`
- URL: `http://localhost:8081/health`
- Auth: none required

Health check endpoint público sin autenticación.

Retorna estado general de servicios:
- API status
- database connectivity
- Swagger documentation availability
- Version de la API

**Útil para**:
- Monitoreo de uptime
- Load balancer health checks
- CI/CD deployment validation

## Response `200`

API saludable

- object
  - `status` 'healthy'
  - `version` string: Versión del package.json
  - `commit` string, nullable: Commit de la imagen desplegada (build arg GIT_COMMIT de CI); null en local
  - `revision` string, nullable: Revisión de Cloud Run que responde (K_REVISION); null en local
  - `timestamp` string, date-time: Timestamp ISO 8601
  - `services` object
    - `database` 'up' | 'down'
    - `api` 'up' | 'down'
    - `swagger` 'up' | 'down'
  - `documentation` object, nullable
    - `swagger_ui` string
    - `openapi_spec` string

---

[API](https://skmtc.dev/nevent/apis/nevent-data-api.md) · [All operations](https://skmtc.dev/nevent/apis/nevent-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nevent/apis/nevent-data-api/revisions/81035d32c1c1?raw)
