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 (0 or 1) |
worker_max | int | Max calls per worker (always 1) |
total_capacity | int | worker_max × workers |
total_available | int | total_capacity - worker_calls |
workers | int | Worker count (CXBCORE_WORKERS) |
worker_id | string | Worker number (from socket path) |
worker_pid | int | OS process ID |
GET /health/fleet
Queries all local workers over their Unix sockets 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 |
|---|---|---|
id | string | Worker number |
calls | int | Active calls (0 or 1) |
max | int | Max calls (always 1) |
pid | int | Process ID |
status | string | Only present if worker is "unreachable" |