Signature
Parameters
Optional[str]
start date and time for report. Many formats accepted (optional)
Optional[str]
end date and time for report. Many formats accepted (optional)
bool
Show only charge items
bool
Show only credit items
Returns
dict
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
VastAI.show_invoices(
start_date: Optional[str] = None,
end_date: Optional[str] = None,
only_charges: bool = False,
only_credits: bool = False
) -> dict
dict
from vastai import VastAI
client = VastAI(api_key="YOUR_API_KEY")
result = client.show_invoices()
print(result)