Signature
Parameters
int
required
id of instance to execute on
str
required
Returns
dict
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
VastAI.execute(
id: int,
command: str
) -> dict
dict
from vastai import VastAI
client = VastAI(api_key="YOUR_API_KEY")
result = client.execute(id=12345, command="value")
print(result)