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

# Liveness Check

> Endpoint for Kubernetes liveness probe to check if the application is alive



## OpenAPI

````yaml get /v1/check/health
openapi: 3.0.0
info:
  title: Health and Lifecycle API
  description: API endpoints for health checks and lifecycle management
  version: 1.0.0
servers:
  - url: https://api.corebanq.com
    description: API server
security:
  - PreStopToken: []
tags:
  - name: Health
    description: Health check endpoints
  - name: Lifecycle
    description: Lifecycle management endpoints
paths:
  /v1/check/health:
    get:
      tags:
        - Health
      summary: Liveness Check
      description: >-
        Endpoint for Kubernetes liveness probe to check if the application is
        alive
      operationId: getLiveness
      parameters:
        - name: Accept-Language
          in: header
          required: false
          schema:
            type: string
            enum:
              - en
              - de
              - fr
              - it
      responses:
        '200':
          description: Application is alive
          content:
            text/plain:
              schema:
                type: string
                example: Liveness probe healthy
        '503':
          description: Application is shutting down
          content:
            text/plain:
              schema:
                type: string
                example: Already shutting down
components:
  securitySchemes:
    PreStopToken:
      type: apiKey
      name: X-PreStop-Token
      in: header
      description: Token for authenticating PreStop hook requests

````