> ## Documentation Index
> Fetch the complete documentation index at: https://docs.allium.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Get deployment stats

> Returns worker health information for a deployed pipeline.

```
GET /api/v1/beam/{config_id}/deploy/stats
```

Returns worker health information for the deployment.

**Path parameters:**

| Parameter   | Description               |
| :---------- | :------------------------ |
| `config_id` | Pipeline configuration ID |

```bash theme={null}
curl -X GET https://api.allium.so/api/v1/beam/${CONFIG_ID}/deploy/stats \
  -H "X-API-Key: ${ALLIUM_API_KEY}"
```

**Response:**

```json theme={null}
{
  "workers_health": {
    "total_workers": 3,
    "healthy_workers": 3,
    "unhealthy_workers": 0,
    "crashing_workers": 0,
    "oom_killed_workers": 0,
    "workers": [
      {
        "name": "abc123",
        "status": "Running",
        "is_ready": true,
        "is_crash_looping": false,
        "is_oom_killed": false,
        "restart_count": 0,
        "start_time": "2025-01-15T10:30:00Z"
      }
    ]
  }
}
```

| Field                | Description                              |
| :------------------- | :--------------------------------------- |
| `total_workers`      | Number of worker pods                    |
| `healthy_workers`    | Workers running normally                 |
| `unhealthy_workers`  | Workers not ready                        |
| `crashing_workers`   | Workers in crash loop                    |
| `oom_killed_workers` | Workers killed due to memory             |
| `restart_count`      | High restart counts indicate instability |
