{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/prompeteer-ai/json-schema/prompeteer-ai-health-response-schema.json",
  "title": "HealthResponse",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/prompeteer-ai-openapi.yml#/components/schemas/HealthResponse",
  "type": "object",
  "properties": {
    "healthy": {
      "type": "boolean"
    },
    "latencyMs": {
      "type": "integer",
      "description": "Database health check latency in milliseconds"
    },
    "circuitBreakerOpen": {
      "type": "boolean",
      "description": "Whether the circuit breaker is tripped (true = degraded mode)"
    },
    "cacheSize": {
      "type": "integer",
      "description": "Number of items in the API key validation cache"
    }
  }
}