Skylv Api Status Checker

Data & APIs

Checks API health and uptime. Monitors endpoints and validates responses. Triggers: check api status, api health, monitor uptime.

Install

openclaw skills install skylv-api-status-checker

API Status Checker

Overview

Monitors API endpoints for health and uptime.

When to Use

  • User asks to "check if API is up"
  • Debugging API failures

Status Evaluation

200 in <500ms = HEALTHY 200 in 500ms-2s = DEGRADED 200 in >2s = SLOW 4xx = CLIENT_ERROR 5xx = SERVER_ERROR Timeout = DOWN

Check Command

$result = Invoke-WebRequest -Uri "https://api.example.com/health" -Method GET -TimeoutSec 10 if ($result.StatusCode -eq 200) { "OK" } else { "FAIL: " + $result.StatusCode }

Alert Thresholds

  • Response time > 2s = WARNING
  • 5xx response = CRITICAL
  • Timeout = CRITICAL