{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zihin-ai/json-schema/zihin-ai-get-api-health-status-response-schema.json",
  "title": "GetApiHealthStatusResponse",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/zihin-ai-openapi-generated.yml#/components/schemas/GetApiHealthStatusResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "string"
    },
    "providers": {
      "type": "object"
    },
    "providers.openai": {
      "type": "object"
    },
    "providers.openai.provider": {
      "type": "string"
    },
    "providers.openai.status": {
      "type": "string"
    },
    "providers.openai.latency": {
      "type": "integer"
    },
    "providers.openai.tested": {
      "type": "boolean"
    },
    "providers.openai.lastCheck": {
      "type": "string"
    },
    "providers.openai.model": {
      "type": "string"
    },
    "providers.anthropic": {
      "type": "object"
    },
    "providers.anthropic.provider": {
      "type": "string"
    },
    "providers.anthropic.status": {
      "type": "string"
    },
    "providers.anthropic.latency": {
      "type": "integer"
    },
    "providers.anthropic.model": {
      "type": "string"
    },
    "summary": {
      "type": "object"
    },
    "summary.total": {
      "type": "integer"
    },
    "summary.healthy": {
      "type": "integer"
    },
    "summary.degraded": {
      "type": "integer"
    },
    "summary.averageLatency": {
      "type": "integer"
    }
  }
}