---
updatedAt: 2025-03-08T01:17:40.000Z
agentTools:
  projectIndex: https://keo-rails.readme.io/llms.txt
---

# /api/health

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/api/health": {
      "get": {
        "operationId": "HealthController_check",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Health check is successful",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthResponse"
                }
              }
            }
          },
          "503": {
            "description": "Health check is not ok"
          }
        },
        "tags": [
          "Core"
        ]
      }
    }
  },
  "info": {
    "title": "KEO Rails API",
    "description": "Platform for loans and payments",
    "version": "v1.2.1",
    "contact": {}
  },
  "servers": [
    {
      "description": "Sandbox",
      "url": "https://staging.ablkeor.com"
    }
  ],
  "components": {
    "schemas": {
      "HealthResponse": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "Health check status",
            "example": "ok",
            "enum": [
              "ok",
              "error"
            ]
          },
          "gitCommitHash": {
            "type": "string",
            "example": "af2be31b347cd15be731435ecb39ed9a5a4c3e6a"
          },
          "name": {
            "type": "string"
          },
          "version": {
            "type": "string",
            "example": "v0.1.0"
          },
          "branch": {
            "type": "string",
            "example": "branch"
          },
          "details": {
            "type": "object",
            "properties": {
              "serviceName": {
                "type": "object",
                "required": [
                  "status"
                ],
                "properties": {
                  "status": {
                    "type": "string",
                    "enum": [
                      "up",
                      "down"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              }
            },
            "example": {
              "redis": {
                "status": "up"
              }
            }
          }
        },
        "required": [
          "status",
          "gitCommitHash",
          "name",
          "version",
          "branch",
          "details"
        ]
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```