CLI
reflex doctor
Run a readiness check on a deployment before you send traffic.
reflex doctor exercises a deployment end-to-end and reports any failed
checks. Run it after reflex deploy and before pointing a robot at the
deployment.
reflex doctor deploy_abc123Sample JSON output:
{
"ok": true,
"readiness": {
"status": "ready",
"checks": [
{ "name": "model_loading", "status": "passed" },
{ "name": "warmup", "status": "passed" }
]
}
}status: ready means the deployment is allowed to serve apply_actions
sessions. Any failed check is included in the checks array with a
message field describing the issue.
| Flag | Description |
|---|---|
--json | JSON output. |