Vast AI icon

Vast AI

Get all informations of an account.

Overview

This node integrates with the Vast AI platform API, allowing users to perform various billing-related operations such as searching invoices, showing deposits, earnings, and individual invoices. It is useful for automating financial data retrieval and management tasks related to a Vast AI account. For example, you can use this node to automatically fetch recent invoices or check your current deposit balance within an n8n workflow.

Properties

Name Meaning
API Group Name or ID Select the specific billing API endpoint to call. Options include: search_invoices_get, show_deposit_get, show_earnings_get, show_invoice_get. You can choose from the list or specify an ID using an expression.
Body Key-value pairs representing parameters sent in the request body (for non-GET methods) or query parameters (for GET). Each entry consists of:
- Parameter Name or ID: The name of the parameter to send.
- Value: The value for that parameter.

Output

The node outputs JSON data returned by the Vast AI API corresponding to the requested billing operation. The structure depends on the specific API endpoint called but generally includes invoice details, deposit information, earnings data, or lists of invoices.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for Vast AI to authenticate requests.
  • The node makes HTTP requests to the Vast AI API at https://console.vast.ai/api/v0.
  • No additional external dependencies are required beyond standard HTTP access.

Troubleshooting

  • Missing Required Path Parameters: Some API calls require mandatory path parameters (e.g., id or user_id). If these are missing, the node will throw an error indicating which parameter is missing. Ensure all required parameters are provided.
  • Invalid API Group or Operation: Selecting an unsupported API group or operation may result in no action or errors. Verify the selected API group matches the billing operations supported.
  • Authentication Errors: If the API key is invalid or missing, requests will fail. Confirm the API key credential is correctly configured.
  • Empty or Incorrect Request Body: For POST/PUT requests, ensure the body parameters are correctly set; otherwise, the API may reject the request.

Links and References

Discussion