{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mentionsapi-com/json-schema/mentionsapi-com-health-response-schema.json",
  "title": "HealthResponse",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mentionsapi-com-openapi.json#/components/schemas/HealthResponse",
  "type": "object",
  "required": [
    "platforms",
    "live_modes",
    "fetched_at",
    "methodology_url"
  ],
  "properties": {
    "platforms": {
      "type": "object",
      "required": [
        "chatgpt",
        "claude",
        "gemini",
        "perplexity"
      ],
      "properties": {
        "chatgpt": {
          "type": "object",
          "required": [
            "status",
            "success_rate_7d",
            "p95_latency_ms",
            "target_success_rate",
            "target_p95_latency_ms",
            "sample_size_7d"
          ],
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "operational",
                "degraded",
                "down",
                "unknown"
              ]
            },
            "success_rate_7d": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "p95_latency_ms": {
              "type": [
                "number",
                "null"
              ]
            },
            "target_success_rate": {
              "type": "number"
            },
            "target_p95_latency_ms": {
              "type": "integer"
            },
            "sample_size_7d": {
              "type": "integer",
              "minimum": 0
            }
          }
        },
        "claude": {
          "type": "object",
          "required": [
            "status",
            "success_rate_7d",
            "p95_latency_ms",
            "target_success_rate",
            "target_p95_latency_ms",
            "sample_size_7d"
          ],
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "operational",
                "degraded",
                "down",
                "unknown"
              ]
            },
            "success_rate_7d": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "p95_latency_ms": {
              "type": [
                "number",
                "null"
              ]
            },
            "target_success_rate": {
              "type": "number"
            },
            "target_p95_latency_ms": {
              "type": "integer"
            },
            "sample_size_7d": {
              "type": "integer",
              "minimum": 0
            }
          }
        },
        "gemini": {
          "type": "object",
          "required": [
            "status",
            "success_rate_7d",
            "p95_latency_ms",
            "target_success_rate",
            "target_p95_latency_ms",
            "sample_size_7d"
          ],
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "operational",
                "degraded",
                "down",
                "unknown"
              ]
            },
            "success_rate_7d": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "p95_latency_ms": {
              "type": [
                "number",
                "null"
              ]
            },
            "target_success_rate": {
              "type": "number"
            },
            "target_p95_latency_ms": {
              "type": "integer"
            },
            "sample_size_7d": {
              "type": "integer",
              "minimum": 0
            }
          }
        },
        "perplexity": {
          "type": "object",
          "required": [
            "status",
            "success_rate_7d",
            "p95_latency_ms",
            "target_success_rate",
            "target_p95_latency_ms",
            "sample_size_7d"
          ],
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "operational",
                "degraded",
                "down",
                "unknown"
              ]
            },
            "success_rate_7d": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "p95_latency_ms": {
              "type": [
                "number",
                "null"
              ]
            },
            "target_success_rate": {
              "type": "number"
            },
            "target_p95_latency_ms": {
              "type": "integer"
            },
            "sample_size_7d": {
              "type": "integer",
              "minimum": 0
            }
          }
        }
      }
    },
    "live_modes": {
      "type": "object",
      "required": [
        "chatgpt_live",
        "gemini_live",
        "perplexity_live",
        "ai_overview",
        "ai_mode",
        "bing_copilot"
      ],
      "properties": {
        "chatgpt_live": {
          "type": "object",
          "required": [
            "status",
            "success_rate_7d",
            "p95_latency_ms",
            "target_success_rate",
            "target_p95_latency_ms",
            "sample_size_7d"
          ],
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "operational",
                "degraded",
                "down",
                "unknown"
              ]
            },
            "success_rate_7d": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "p95_latency_ms": {
              "type": [
                "number",
                "null"
              ]
            },
            "target_success_rate": {
              "type": "number"
            },
            "target_p95_latency_ms": {
              "type": "integer"
            },
            "sample_size_7d": {
              "type": "integer",
              "minimum": 0
            }
          }
        },
        "gemini_live": {
          "type": "object",
          "required": [
            "status",
            "success_rate_7d",
            "p95_latency_ms",
            "target_success_rate",
            "target_p95_latency_ms",
            "sample_size_7d"
          ],
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "operational",
                "degraded",
                "down",
                "unknown"
              ]
            },
            "success_rate_7d": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "p95_latency_ms": {
              "type": [
                "number",
                "null"
              ]
            },
            "target_success_rate": {
              "type": "number"
            },
            "target_p95_latency_ms": {
              "type": "integer"
            },
            "sample_size_7d": {
              "type": "integer",
              "minimum": 0
            }
          }
        },
        "perplexity_live": {
          "type": "object",
          "required": [
            "status",
            "success_rate_7d",
            "p95_latency_ms",
            "target_success_rate",
            "target_p95_latency_ms",
            "sample_size_7d"
          ],
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "operational",
                "degraded",
                "down",
                "unknown"
              ]
            },
            "success_rate_7d": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "p95_latency_ms": {
              "type": [
                "number",
                "null"
              ]
            },
            "target_success_rate": {
              "type": "number"
            },
            "target_p95_latency_ms": {
              "type": "integer"
            },
            "sample_size_7d": {
              "type": "integer",
              "minimum": 0
            }
          }
        },
        "ai_overview": {
          "type": "object",
          "required": [
            "status",
            "success_rate_7d",
            "p95_latency_ms",
            "target_success_rate",
            "target_p95_latency_ms",
            "sample_size_7d"
          ],
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "operational",
                "degraded",
                "down",
                "unknown"
              ]
            },
            "success_rate_7d": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "p95_latency_ms": {
              "type": [
                "number",
                "null"
              ]
            },
            "target_success_rate": {
              "type": "number"
            },
            "target_p95_latency_ms": {
              "type": "integer"
            },
            "sample_size_7d": {
              "type": "integer",
              "minimum": 0
            }
          }
        },
        "ai_mode": {
          "type": "object",
          "required": [
            "status",
            "success_rate_7d",
            "p95_latency_ms",
            "target_success_rate",
            "target_p95_latency_ms",
            "sample_size_7d"
          ],
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "operational",
                "degraded",
                "down",
                "unknown"
              ]
            },
            "success_rate_7d": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "p95_latency_ms": {
              "type": [
                "number",
                "null"
              ]
            },
            "target_success_rate": {
              "type": "number"
            },
            "target_p95_latency_ms": {
              "type": "integer"
            },
            "sample_size_7d": {
              "type": "integer",
              "minimum": 0
            }
          }
        },
        "bing_copilot": {
          "type": "object",
          "required": [
            "status",
            "success_rate_7d",
            "p95_latency_ms",
            "target_success_rate",
            "target_p95_latency_ms",
            "sample_size_7d"
          ],
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "operational",
                "degraded",
                "down",
                "unknown"
              ]
            },
            "success_rate_7d": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "p95_latency_ms": {
              "type": [
                "number",
                "null"
              ]
            },
            "target_success_rate": {
              "type": "number"
            },
            "target_p95_latency_ms": {
              "type": "integer"
            },
            "sample_size_7d": {
              "type": "integer",
              "minimum": 0
            }
          }
        }
      }
    },
    "fetched_at": {
      "type": "string",
      "format": "date-time"
    },
    "methodology_url": {
      "type": "string",
      "format": "uri"
    },
    "error": {
      "type": "string",
      "description": "Set to health_query_failed when the usage read fails. The rest of the body is still returned."
    }
  }
}