Maintenance API
Check agent health and trigger maintenance restarts. These endpoints operate on the authenticated user’s deployed agent instance.Get agent health
/healthz and /readyz endpoints.
Response
Status values
Response when no agent is deployed
When the authenticated user has no deployed agent:The health check uses a 5-second timeout for the
/healthz probe and a 4-second timeout for the /readyz probe. Agents that are slow to start may report as unreachable or starting until fully initialized.Errors
Restart agent
openclaw doctor --fix on startup, which performs health checks and applies any pending migrations.