{"service":"ProxyMaze Watchtower","endpoints":{"GET /":"This index. Lists all available endpoints.","GET /health":"Service health check. Returns {\"status\": \"ok\"}.","GET /config":"Retrieve current configuration values.","POST /config":"Update check_interval_seconds and/or request_timeout_ms. Applied immediately.","POST /proxies":"Add proxy URLs to the pool. Extracts IDs from URL paths. Use {\"replace\": true} to clear existing pool first.","GET /proxies":"List all proxies with their current status from the last background check.","GET /proxies/{id}":"Get proxy detail including uptime_percentage and full check history.","DELETE /proxies":"Clear the proxy pool. Alert history is preserved.","GET /alerts":"List all alerts (active and resolved).","POST /webhooks":"Register a webhook URL to receive alert.fired and alert.resolved JSON payloads.","POST /integrations":"Register a Slack or Discord integration for formatted alert notifications.","GET /metrics":"Summary counters: total_checks, active_alerts, webhook_deliveries."}}