Show stats on owned volumes.
Signature
VastAI.show_volumes(
type: str = 'all'
) -> list[dict]
Parameters
volume type to display. Default to all. Possible values are “local”, “all”, “network”
Returns
list[dict]
Example
from vastai import VastAI
client = VastAI(api_key="YOUR_API_KEY")
result = client.show_volumes()
print(result)