troq doctor is a quick sanity check for operator sessions. It is intentionally small and fast: the command confirms which profile is active, whether a token is present locally, and whether the gateway health/readiness endpoints are reachable from your current CLI environment.
Run it directly:
profile, token_present, gateway_health, and gateway_ready. This is useful when you want to answer one operational question quickly: “is this machine and session basically healthy enough to run platform commands?”
Use JSON output when you want deterministic automation checks:
doctor is different from checks. checks focuses on summarized service health status (overall_status, endpoint checks), while doctor includes local operator context signals in the same result. In short, checks is service-centric and doctor is operator-session-centric.
Last Updated: 2026-05-11