UptimeMonitoring Examples

May 28, 2026 · View on GitHub

Copy-paste-runnable examples for every UptimeMonitoring integration.

Integrations

IntegrationPathDescription
cURLcurl/Create, list, test, and delete monitors from the command line
Node.jsnode/Same lifecycle using Node 20+ native fetch, no dependencies
Pythonpython/Same lifecycle using requests
GitHub Actionsgithub-actions/Post-deploy health gate with uptimemonitoring/assert-healthy
MCP — Claude Codemcp/claude-code/Manage monitors with natural language in Claude Code
MCP — Cursormcp/cursor/Manage monitors with natural language in Cursor
Webhookswebhooks/Push notifications when a monitor goes down, recovers, or flaps

Placeholder convention

All examples use placeholders — replace them with your own values before running:

PlaceholderReplace with
UPTIMEMONITORING_API_KEYYour API key — set as an environment variable, never hardcode it
umk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxYour actual API key from Settings → API Keys
123Your monitor's numeric ID (visible in the dashboard URL)
whs_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxThe HMAC signing secret returned when you set a webhook

Never commit a real key to version control.

Coming in Phase 2

  • terraform/ — provision and manage monitors as infrastructure
  • kubernetes/ — liveness/readiness gate via assert-healthy in a pod lifecycle hook
  • pagerduty-integration/ — route monitor alerts to PagerDuty incidents