GET /health
Returns the status and call load of the responding worker.Response
- Fields
- curl
| Field | Type | Description |
|---|---|---|
status | string | "ok" |
worker_calls | int | Active calls on this worker |
worker_max | int | Max calls per worker (MAX_CONCURRENT_CALLS) |
total_capacity | int | worker_max × workers |
total_available | int | total_capacity - worker_calls |
workers | int | Worker count (VOXCORE_WORKERS) |
worker_port | int | Port this worker listens on |
worker_pid | int | OS process ID |
GET /health/fleet
Queries all local workers and returns aggregated fleet status.Response
- Fields
- curl
| Field | Type | Description |
|---|---|---|
status | string | "ok" |
fleet_calls | int | Total active calls |
fleet_max | int | Total capacity |
fleet_available | int | Available slots |
workers | list | Per-worker status |
| Field | Type | Description |
|---|---|---|
port | int | Worker port |
calls | int | Active calls |
pid | int | Process ID |
status | string | Only present if worker is "unreachable" |