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

# Localization pipeline health

> Reports whether real translations loaded from the @loyaltydog/i18n package (vs. the empty fallback) and the en-US 'common' key count. Use to detect the raw-key degradation mode in any environment.



## OpenAPI

````yaml https://api.loyalty.dog/openapi.json get /v2/localization/health
openapi: 3.1.0
info:
  title: LoyaltyDog
  description: >-

    Welcome to the LoyaltyDog API! This API provides access to our loyalty
    program features, allowing you to integrate with various platforms and
    manage your loyalty data.


    Want to query LoyaltyDog via an AI assistant (Claude, Cursor, Windsurf)? See
    the [MCP Integration guide](https://loyaltydog.ai/playground#mcp).
        
  termsOfService: https://loyalty.dog/loyalty-program-terms-service
  contact:
    name: LoyaltyDog Support
    url: https://loyalty.dog/contact-us
    email: support@loyalty.dog
  version: 1.0.1
servers:
  - url: https://api.loyalty.dog
    description: Production
security:
  - bearerAuth: []
paths:
  /v2/localization/health:
    get:
      tags:
        - Localization
      summary: Localization pipeline health
      description: >-
        Reports whether real translations loaded from the @loyaltydog/i18n
        package (vs. the empty fallback) and the en-US 'common' key count. Use
        to detect the raw-key degradation mode in any environment.
      operationId: localization_health_v2_localization_health_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocalizationHealthResponse'
components:
  schemas:
    LocalizationHealthResponse:
      properties:
        i18nLoaded:
          type: boolean
          title: I18Nloaded
          description: >-
            True if the real @loyaltydog/i18n package loaded (not the empty
            fallback)
        enUSCommonKeyCount:
          type: integer
          title: Enuscommonkeycount
          description: Number of top-level keys in en-US 'common' (0 if not loaded)
      type: object
      required:
        - i18nLoaded
        - enUSCommonKeyCount
      title: LocalizationHealthResponse
      description: Health signal for the translation-delivery pipeline.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT access token obtained from POST /v2/token.

````