> ## 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.

# Readiness Check

> Endpoint for Kubernetes readiness probe to check if the application is ready to accept requests



## OpenAPI

````yaml get /v1/check/ready
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/ready:
    get:
      tags:
        - Health
      summary: Readiness Check
      description: >-
        Endpoint for Kubernetes readiness probe to check if the application is
        ready to accept requests
      operationId: getReadiness
      parameters:
        - name: Accept-Language
          in: header
          required: false
          schema:
            type: string
            enum:
              - en
              - de
              - fr
              - it
      responses:
        '200':
          description: Application is ready to accept requests
          content:
            text/plain:
              schema:
                type: string
                example: Server ready to accept requests
        '503':
          description: Application is not ready or shutting down
          content:
            text/plain:
              schema:
                type: string
                enum:
                  - Already shutting down
                  - Server not ready to accept requests
components:
  securitySchemes:
    PreStopToken:
      type: apiKey
      name: X-PreStop-Token
      in: header
      description: Token for authenticating PreStop hook requests

````