v1

latestOpenAPI 3.1.02026-07-13897404.3 KB
Serverless

get workergroup workers

Retrieves the current list and status of workers for a specific workergroup. Useful for monitoring, debugging connectivity issues, and understanding resource usage within a workergroup.

CLI Usage: vastai get workergroup workers <id>

post/get_workergroup_workers/

Request body

idinteger required

ID of the workergroup to monitor

Example request

{
  "id": 12345
}

Response

Workers successfully retrieved.

OR
string required

Error message when workergroup not found or authentication fails

Example response

{
  "workers": [
    {
      "id": 67890,
      "status": "running",
      "url": "http://192.168.1.10:8000",
      "created_at": "2023-10-01T12:00:00Z"
    }
  ]
}