🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

API Health Checker

by @underbench2-gif

Tests API endpoints by sending requests, validating responses, measuring performance, handling authentication, and generating detailed health reports.

Versionv1.0.0
Downloads1,229
TERMINAL
clawhub install ub2-api-health-checker

πŸ“– About This Skill

API Health Checker

A skill that enables Claw to test API endpoints, verify their responses, measure performance, and generate a health report.

What This Skill Does

This skill provides a systematic API testing and monitoring workflow:

1. Endpoint Testing β€” Send HTTP requests (GET, POST, PUT, DELETE) to specified API endpoints 2. Response Validation β€” Check status codes, response times, and response body structure against expected values 3. Authentication Support β€” Handle API keys, Bearer tokens, and basic auth headers 4. Performance Measurement β€” Record response times and flag slow endpoints 5. Health Report β€” Generate a comprehensive report summarizing the status of all tested endpoints

How to Use

Provide API endpoints and Claw will test them:

  • "Check if https://api.example.com/v1/status is responding correctly"
  • "Test all endpoints in this API and report which ones are failing"
  • "Monitor these 5 endpoints and tell me their average response times"
  • "Verify that the /users endpoint returns a JSON array with the expected fields"
  • Configuration

    You can specify:

  • Endpoints β€” A list of URLs to test
  • Expected status codes β€” What HTTP status each endpoint should return (default: 200)
  • Timeout β€” Maximum wait time per request (default: 10 seconds)
  • Headers β€” Custom headers including authentication tokens
  • Request body β€” For POST/PUT requests
  • Output

    The health report includes:

  • Status Summary β€” Total endpoints tested, passed, failed, and timed out
  • Per-Endpoint Details β€” URL, method, status code, response time, and pass/fail result
  • Performance Metrics β€” Average, min, max, and p95 response times
  • Recommendations β€” Suggestions for endpoints that are slow or returning errors
  • βš™οΈ Configuration

    You can specify:

  • Endpoints β€” A list of URLs to test
  • Expected status codes β€” What HTTP status each endpoint should return (default: 200)
  • Timeout β€” Maximum wait time per request (default: 10 seconds)
  • Headers β€” Custom headers including authentication tokens
  • Request body β€” For POST/PUT requests