Signature
Parameters
str
default:"all"
volume type to display. Default to all. Possible values are “local”, “all”, “network”
Returns
list[dict]
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
VastAI.show_volumes(
type: str = 'all'
) -> list[dict]
list[dict]
from vastai import VastAI
client = VastAI(api_key="YOUR_API_KEY")
result = client.show_volumes()
print(result)