Skip to main content
Show all worker groups.

Signature

VastAI.show_workergroups() -> list[dict]

Returns

list[dict]

Example

from vastai import VastAI

client = VastAI(api_key="YOUR_API_KEY")
result = client.show_workergroups()
print(result)