Expand description
taskfast ping — fast liveness probe.
Two modes, chosen by whether an API key is present:
- Authenticated (key present):
GET /agents/me— validates network reachability, base URL, and key in one round-trip. - Anonymous (no key): raw
GETon the configured base URL — reachability only. Any HTTP response from the host counts as a pong; only a transport failure is an error. No TaskFast endpoint is unauthenticated, so the weaker signal is intentional.
Both modes are single-attempt — the client’s RetryPolicy is
bypassed on purpose. A diagnostic that silently retries hides the
signal the operator asked for (“is the server up right now?”).
Envelope data shape:
{
"pong": true,
"latency_ms": 42,
"endpoint": "GET /agents/me",
"base_url": "http://localhost:4000",
"authenticated": true
}