Signature
Parameters
bool
default:"False"
quiet
Optional[str]
start_date
Optional[str]
end_date
bool
default:"False"
only_charges
bool
default:"False"
only_credits
Optional[str]
instance_label
Returns
str, Result from the API call.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
VastAI.show_invoices(
quiet: bool = False,
start_date: Optional[str] = None,
end_date: Optional[str] = None,
only_charges: bool = False,
only_credits: bool = False,
instance_label: Optional[str] = None
) -> str
str, Result from the API call.
from vastai import VastAI
client = VastAI(api_key="YOUR_API_KEY")
result = client.show_invoices()
print(result)