Skylv Api Status Checker

v1.0.0

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

0· 115· 1 versions· 0 current· 1 all-time· Updated 1w ago· MIT-0

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

Version tags

latestvk97fvfxcjvggx4a2xjv2nz9qzn856j1r