Ping a set of endpoints and report reachability/latency
check_healthRun one-shot health checks against API endpoints to confirm they respond, returning status codes and latency. Use before demos or in CI to detect non-responsive endpoints.
Instructions
One-shot health check: calls each given endpoint (or, if none given, every parameter-free GET in the loaded spec) and reports whether it responded, its status code, and latency. Useful for a quick 'is the API up' pass, e.g. before a demo or as part of CI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth | No | Auth preset applied to the request. Examples: {"type":"bearer","token":"..."}, {"type":"apiKey","in":"header","name":"X-API-Key","value":"..."}, {"type":"basic","username":"...","password":"..."} | |
| baseUrl | No | ||
| endpoints | No | Explicit list to check. Defaults to every parameter-free GET endpoint in the loaded spec. | |
| timeoutMs | No | Per-endpoint timeout in ms. Default 5000. |