main
Active Calls
Changed onIn-flight call count for THIS worker — the drain signal for deploys.
A deploy orchestrator polls this per worker and waits for zero before sending SIGTERM, because uvicorn force-closes live call WebSockets (close code 1012) on SIGTERM and would cut calls mid-conversation otherwise. The count is per-process: one uvicorn per VM port (scripts/rolling_update.sh) or per Kubernetes pod (preStop hook). See api/services/observability/active_calls.py.
get/api/v1/health/active-calls
Request
- Base URLhttps://app.dograh.com
- URLhttps://app.dograh.com/api/v1/health/active-calls
- Authnone declared
Headers
X-Dograh-Devops-Secretstring nullable
Response
Successful Response
Changes
- info
endpoint added
- info