CorebanqCorebanq Developer Docs
Healthv1Legacy

[DEPRECATED] Legacy comprehensive health check

⚠️ **DEPRECATED**: Use `/health/detailed` instead. This endpoint is maintained for backward compatibility only.

Deprecated

GET/v1/check/comprehensive

Header Parameters

Accept-Language?string

Preferred response language

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/check/comprehensive"
{
  "overall_status": "healthy",
  "timestamp": "2024-01-15T10:30:00Z",
  "components": [
    {
      "component": "database",
      "status": "healthy",
      "response_time_ms": 150,
      "details": {
        "connection_pool": "active",
        "driver": "postgres"
      },
      "error": "Connection timeout",
      "last_checked": "2024-01-15T10:30:00Z",
      "tags": [
        "critical",
        "internal"
      ]
    }
  ],
  "summary": {
    "total_components": 8,
    "healthy_count": 8,
    "unhealthy_count": 0,
    "degraded_count": 0,
    "avg_response_time_ms": 170.25
  },
  "system_info": {
    "service_name": "corebanq-api",
    "version": "1.2.3",
    "environment": "production",
    "uptime": "2h15m30s",
    "start_time": "2025-08-14T09:35:00Z",
    "uptime_seconds": 8130.5,
    "go_version": "go1.24.5",
    "server_ready": true
  },
  "message": "System is shutting down"
}
{
  "overall_status": "healthy",
  "timestamp": "2024-01-15T10:30:00Z",
  "components": [
    {
      "component": "database",
      "status": "healthy",
      "response_time_ms": 150,
      "details": {
        "connection_pool": "active",
        "driver": "postgres"
      },
      "error": "Connection timeout",
      "last_checked": "2024-01-15T10:30:00Z",
      "tags": [
        "critical",
        "internal"
      ]
    }
  ],
  "summary": {
    "total_components": 8,
    "healthy_count": 8,
    "unhealthy_count": 0,
    "degraded_count": 0,
    "avg_response_time_ms": 170.25
  },
  "system_info": {
    "service_name": "corebanq-api",
    "version": "1.2.3",
    "environment": "production",
    "uptime": "2h15m30s",
    "start_time": "2025-08-14T09:35:00Z",
    "uptime_seconds": 8130.5,
    "go_version": "go1.24.5",
    "server_ready": true
  },
  "message": "System is shutting down"
}
{
  "overall_status": "healthy",
  "timestamp": "2024-01-15T10:30:00Z",
  "components": [
    {
      "component": "database",
      "status": "healthy",
      "response_time_ms": 150,
      "details": {
        "connection_pool": "active",
        "driver": "postgres"
      },
      "error": "Connection timeout",
      "last_checked": "2024-01-15T10:30:00Z",
      "tags": [
        "critical",
        "internal"
      ]
    }
  ],
  "summary": {
    "total_components": 8,
    "healthy_count": 8,
    "unhealthy_count": 0,
    "degraded_count": 0,
    "avg_response_time_ms": 170.25
  },
  "system_info": {
    "service_name": "corebanq-api",
    "version": "1.2.3",
    "environment": "production",
    "uptime": "2h15m30s",
    "start_time": "2025-08-14T09:35:00Z",
    "uptime_seconds": 8130.5,
    "go_version": "go1.24.5",
    "server_ready": true
  },
  "message": "System is shutting down"
}