AlertCamp · Schema

HealthResponse

Full health check response.

TravelCampingAlertsMobileOutdoors

Properties

Name Type Description
status object
app string
version string
environment string
uptime_seconds number
started_at string
checked_at string
min_app_version string
database object
polling object
circuit_breaker object
notifications object
cluster object
status_reasons array
View JSON Schema on GitHub

JSON Schema

alert-camp-health-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alert-camp/json-schema/alert-camp-health-response-schema.json",
  "title": "HealthResponse",
  "description": "Full health check response.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alert-camp-health-api-openapi.yml#/components/schemas/HealthResponse",
  "properties": {
    "status": {
      "$ref": "#/$defs/HealthStatus"
    },
    "app": {
      "type": "string",
      "title": "App"
    },
    "version": {
      "type": "string",
      "title": "Version"
    },
    "environment": {
      "type": "string",
      "title": "Environment"
    },
    "uptime_seconds": {
      "type": "number",
      "title": "Uptime Seconds"
    },
    "started_at": {
      "type": "string",
      "title": "Started At"
    },
    "checked_at": {
      "type": "string",
      "title": "Checked At"
    },
    "min_app_version": {
      "type": "string",
      "title": "Min App Version"
    },
    "database": {
      "$ref": "#/$defs/DatabaseHealth"
    },
    "polling": {
      "$ref": "#/$defs/PollingHealth"
    },
    "circuit_breaker": {
      "anyOf": [
        {
          "$ref": "#/$defs/CircuitBreakerHealth"
        },
        {
          "type": "null"
        }
      ]
    },
    "notifications": {
      "$ref": "#/$defs/NotificationHealth"
    },
    "cluster": {
      "anyOf": [
        {
          "$ref": "#/$defs/ClusterHealth"
        },
        {
          "type": "null"
        }
      ]
    },
    "status_reasons": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Status Reasons",
      "default": []
    }
  },
  "type": "object",
  "required": [
    "status",
    "app",
    "version",
    "environment",
    "uptime_seconds",
    "started_at",
    "checked_at",
    "min_app_version",
    "database",
    "polling",
    "notifications"
  ],
  "$defs": {
    "CircuitBreakerHealth": {
      "properties": {
        "status": {
          "$ref": "#/$defs/ComponentStatus"
        },
        "state": {
          "type": "string",
          "title": "State"
        },
        "failure_count": {
          "type": "integer",
          "title": "Failure Count",
          "default": 0
        },
        "opened_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Opened At"
        }
      },
      "type": "object",
      "required": [
        "status",
        "state"
      ],
      "title": "CircuitBreakerHealth",
      "description": "Circuit breaker component health."
    },
    "ClusterHealth": {
      "properties": {
        "status": {
          "$ref": "#/$defs/ComponentStatus"
        },
        "total_nodes": {
          "type": "integer",
          "title": "Total Nodes"
        },
        "healthy_nodes": {
          "type": "integer",
          "title": "Healthy Nodes"
        },
        "workers": {
          "items": {
            "$ref": "#/$defs/WorkerStatus"
          },
          "type": "array",
          "title": "Workers"
        },
        "cluster_sites_polled": {
          "type": "integer",
          "title": "Cluster Sites Polled",
          "default": 0
        },
        "cluster_sites_successful": {
          "type": "integer",
          "title": "Cluster Sites Successful",
          "default": 0
        },
        "cluster_sites_failed": {
          "type": "integer",
          "title": "Cluster Sites Failed",
          "default": 0
        },
        "cluster_success_rate": {
          "type": "number",
          "title": "Cluster Success Rate",
          "default": 0.0
        },
        "cluster_alerts_matched": {
          "type": "integer",
          "title": "Cluster Alerts Matched",
          "default": 0
        },
        "cluster_requests_per_second": {
          "type": "number",
          "title": "Cluster Requests Per Second",
          "default": 0.0
        },
        "cluster_backlog": {
          "anyOf": [
            {
              "$ref": "#/$defs/PollingBacklog"
            },
            {
              "type": "null"
            }
          ]
        },
        "cluster_stats_backlog": {
          "anyOf": [
            {
              "$ref": "#/$defs/PollingBacklog"
            },
            {
              "type": "null"
            }
          ]
        },
        "cluster_provider_status": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "title": "Cluster Provider Status",
          "default": {}
        },
        "cluster_maintenance_providers": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Cluster Maintenance Providers",
          "default": []
        },
        "cluster_maintenance_since": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "title": "Cluster Maintenance Since",
          "default": {}
        },
        "provider_tier_status": {
          "additionalProperties": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "type": "object",
          "title": "Provider Tier Status",
          "default": {}
        },
        "stuck_targets": {
          "items": {
            "$ref": "#/$defs/StuckTarget"
          },
          "type": "array",
          "title": "Stuck Targets",
          "default": []
        }
      },
      "type": "object",
      "required": [
        "status",
        "total_nodes",
        "healthy_nodes",
        "workers"
      ],
      "title": "ClusterHealth",
      "description": "Aggregate health of all nodes in the cluster."
    },
    "ComponentStatus": {
      "type": "string",
      "enum": [
        "ok",
        "warn",
        "fail"
      ],
      "title": "ComponentStatus",
      "description": "Health status of an individual component."
    },
    "DatabaseHealth": {
      "properties": {
        "status": {
          "$ref": "#/$defs/ComponentStatus"
        },
        "latency_ms": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Latency Ms"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Error"
        }
      },
      "type": "object",
      "required": [
        "status"
      ],
      "title": "DatabaseHealth",
      "description": "Database component health."
    },
    "HealthStatus": {
      "type": "string",
      "enum": [
        "healthy",
        "degraded",
        "unhealthy"
      ],
      "title": "HealthStatus",
      "description": "Overall health status of the application."
    },
    "NotificationHealth": {
      "properties": {
        "total": {
          "type": "integer",
          "title": "Total",
          "default": 0
        },
        "push_sent": {
          "type": "integer",
          "title": "Push Sent",
          "default": 0
        },
        "push_failed": {
          "type": "integer",
          "title": "Push Failed",
          "default": 0
        },
        "email_sent": {
          "type": "integer",
          "title": "Email Sent",
          "default": 0
        },
        "email_failed": {
          "type": "integer",
          "title": "Email Failed",
          "default": 0
        },
        "sms_sent": {
          "type": "integer",
          "title": "Sms Sent",
          "default": 0
        },
        "sms_failed": {
          "type": "integer",
          "title": "Sms Failed",
          "default": 0
        }
      },
      "type": "object",
      "title": "NotificationHealth",
      "description": "Notification service stats."
    },
    "PollingBacklog": {
      "properties": {
        "sites_tracked": {
          "type": "integer",
          "title": "Sites Tracked",
          "default": 0
        },
        "sites_overdue": {
          "type": "integer",
          "title": "Sites Overdue",
          "default": 0
        },
        "max_overdue_seconds": {
          "type": "number",
          "title": "Max Overdue Seconds",
          "default": 0.0
        },
        "max_overdue_ratio": {
          "type": "number",
          "title": "Max Overdue Ratio",
          "default": 0.0
        },
        "max_overdue_tier": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Max Overdue Tier"
        }
      },
      "type": "object",
      "title": "PollingBacklog",
      "description": "Polling backlog metrics — shows whether the backend can keep up."
    },
    "PollingHealth": {
      "properties": {
        "status": {
          "$ref": "#/$defs/ComponentStatus"
        },
        "task_running": {
          "type": "boolean",
          "title": "Task Running"
        },
        "last_poll_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Last Poll At"
        },
        "seconds_since_last_poll": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Seconds Since Last Poll"
        },
        "sites_polled_total": {
          "type": "integer",
          "title": "Sites Polled Total",
          "default": 0
        },
        "sites_successful": {
          "type": "integer",
          "title": "Sites Successful",
          "default": 0
        },
        "sites_failed": {
          "type": "integer",
          "title": "Sites Failed",
          "default": 0
        },
        "sites_skipped": {
          "type": "integer",
          "title": "Sites Skipped",
          "default": 0
        },
        "cancellations_detected": {
          "type": "integer",
          "title": "Cancellations Detected",
          "default": 0
        },
        "alerts_matched": {
          "type": "integer",
          "title": "Alerts Matched",
          "default": 0
        },
        "api_calls_total": {
          "type": "integer",
          "title": "Api Calls Total",
          "default": 0
        },
        "success_rate": {
          "type": "number",
          "title": "Success Rate",
          "default": 0.0
        },
        "sites_polled_by_tier": {
          "additionalProperties": {
            "type": "integer"
          },
          "type": "object",
          "title": "Sites Polled By Tier",
          "default": {}
        },
        "backlog": {
          "anyOf": [
            {
              "$ref": "#/$defs/PollingBacklog"
            },
            {
              "type": "null"
            }
          ]
        },
        "stats_backlog": {
          "anyOf": [
            {
              "$ref": "#/$defs/PollingBacklog"
            },
            {
              "type": "null"
            }
          ]
        },
        "stress_mode": {
          "additionalProperties": {
            "additionalProperties": {
              "type": "boolean"
            },
            "type": "object"
          },
          "type": "object",
          "title": "Stress Mode",
          "default": {}
        },
        "maintenance_mode": {
          "type": "boolean",
          "title": "Maintenance Mode",
          "default": false
        },
        "maintenance_since": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Maintenance Since"
        },
        "maintenance_providers": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Maintenance Providers",
          "default": []
        },
        "maintenance_since_by_provider": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "title": "Maintenance Since By Provider",
          "default": {}
        },
        "provider_status": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "title": "Provider Status",
          "default": {}
        },
        "provider_tier_status": {
          "additionalProperties": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "type": "object",
          "title": "Provider Tier Status",
          "default": {}
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Error"
        },
        "status_reasons": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Status Reasons",
          "default": []
        }
      },
      "type": "object",
      "required": [
        "status",
        "task_running"
      ],
      "title": "PollingHealth",
      "description": "Polling loop component health."
    },
    "StuckTarget": {
      "properties": {
        "provider": {
          "type": "string",
          "title": "Provider"
        },
        "tier": {
          "type": "string",
          "title": "Tier"
        },
        "worst_overdue_seconds": {
          "type": "number",
          "title": "Worst Overdue Seconds"
        },
        "max_window_seconds": {
          "type": "number",
          "title": "Max Window Seconds"
        },
        "windows_overdue": {
          "type": "number",
          "title": "Windows Overdue"
        },
        "stuck_since": {
          "type": "string",
          "title": "Stuck Since"
        }
      },
      "type": "object",
      "required": [
        "provider",
        "tier",
        "worst_overdue_seconds",
        "max_window_seconds",
        "windows_overdue",
        "stuck_since"
      ],
      "title": "StuckTarget",
      "description": "One (provider, tier) whose WORST single poll target is badly overdue.\n\nOps-only: this is deliberately NOT folded into ``provider_tier_status``.\nA single stuck target means one user's alert is dark, not that the provider\nis down for everyone, so it degrades the aggregate ``/health`` status (what\nthe uptime monitor keys on) without showing a degraded banner to every user\nof that provider and tier."
    },
    "WorkerStatus": {
      "properties": {
        "node_name": {
          "type": "string",
          "title": "Node Name"
        },
        "instance_role": {
          "type": "string",
          "title": "Instance Role"
        },
        "polling_tiers": {
          "type": "string",
          "title": "Polling Tiers"
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "uptime_seconds": {
          "type": "number",
          "title": "Uptime Seconds"
        },
        "last_heartbeat_seconds_ago": {
          "type": "number",
          "title": "Last Heartbeat Seconds Ago"
        },
        "polling_task_running": {
          "type": "boolean",
          "title": "Polling Task Running"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Error"
        },
        "sites_polled_total": {
          "type": "integer",
          "title": "Sites Polled Total",
          "default": 0
        },
        "sites_successful": {
          "type": "integer",
          "title": "Sites Successful",
          "default": 0
        },
        "sites_failed": {
          "type": "integer",
          "title": "Sites Failed",
          "default": 0
        },
        "success_rate": {
          "type": "number",
          "title": "Success Rate",
          "default": 0.0
        },
        "sites_polled_by_tier": {
          "additionalProperties": {
            "type": "integer"
          },
          "type": "object",
          "title": "Sites Polled By Tier",
          "default": {}
        },
        "sites_tracked": {
          "type": "integer",
          "title": "Sites Tracked",
          "default": 0
        },
        "sites_overdue": {
          "type": "integer",
          "title": "Sites Overdue",
          "default": 0
        },
        "stats_sites_tracked": {
          "type": "integer",
          "title": "Stats Sites Tracked",
          "default": 0
        },
        "stats_sites_overdue": {
          "type": "integer",
          "title": "Stats Sites Overdue",
          "default": 0
        }
      },
      "type": "object",
      "required": [
        "node_name",
        "instance_role",
        "polling_tiers",
        "status",
        "uptime_seconds",
        "last_heartbeat_seconds_ago",
        "polling_task_running"
      ],
      "title": "WorkerStatus",
      "description": "Health status of a single cluster node."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/alert-camp-health-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.