> ## Documentation Index
> Fetch the complete documentation index at: https://vastai-80aa3a82-auto-cli-sdk-preview-pr-398.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# VastAI.get_endpoint_workers

List workers under a given endpoint, with live status and measured\_perf.

## Signature

```python theme={null}
VastAI.get_endpoint_workers(
    id: int
)
```

## Parameters

<ParamField path="id" type="int" required />

## Returns

`Any`

## Example

```python theme={null}
from vastai import VastAI

client = VastAI(api_key="YOUR_API_KEY")
result = client.get_endpoint_workers(id=12345)
print(result)
```
