How to get started with Vast.ai on Zapier

Vast.ai and Zapier connect so you can automate GPU cloud workflows: react to new instances, billing events, marketplace offers, and volumes; look up instances, offers, templates, and invoices; and run actions like creating or managing instances, SSH keys, bids, and logs.

Prerequisites

To use the Vast.ai app on Zapier, you must have:

  • A Vast.ai account with access to the console.
  • An API key for your account.
Find your Vast.ai API key

Create or copy an API key in Vast.ai API keys.

Connect Vast.ai to Zapier

To create an app connection to Vast.ai on Zapier:

  1. Go to the Apps page.
  2. Click + Add connection.
  3. A new dialog box will appear. Search for and select Vast.ai.
  4. Click Add connection.
  5. A Connect an Account page will open in a browser tab or window.
  6. In the API key field, enter your Vast.ai API key.
  7. Click Yes, Continue to Vast.ai (or the button shown to finish the connection).

Your Vast.ai account is now successfully connected to Zapier.

About Vast.ai's app

Triggers, searches, and actions

Triggers
  • Instance Status Changed (Polling) - Fires when an instance's actual_status changes. Each status transition is treated as a new event.
  • New Instance (Polling) - Fires when a new GPU instance appears in your account.
  • New Invoice / Billing Event (Polling) - Fires when a new billing or invoice row appears that the Zap has not seen before.
  • New Matching Offer (Polling) - Fires when a marketplace offer ID appears that the Zap has not seen yet.
  • New Volume (Polling) - Fires when a rented volume ID is seen for the first time by this Zap.
Searches
  • Find Instance - Finds an instance by ID with optional status filter.
  • Get Instance - Retrieves a specific instance by selection.
  • Find Instance SSH Keys - Lists SSH keys attached to an instance.
  • Find Invoices - Lists invoices with optional time range, limit, and service filters.
  • Find Volumes - Lists volumes with an optional status filter.
  • Search Benchmarks - Searches benchmark data.
  • Search Offers - Searches GPU marketplace offers with filters such as GPU name, price, and disk space.
  • Search Templates - Searches instance templates with optional advanced JSON filters.
  • Find Current User - Looks up the authenticated user, optionally filtered by email.
Actions
  • Attach SSH Key to Instance - Attaches an SSH public key to an instance.
  • Change Instance Bid - Updates the bid price for an instance.
  • Create Instance - Creates an instance from an offer, image, and optional startup settings.
  • Destroy Instance - Permanently destroys an instance.
  • Detach SSH Key From Instance - Removes an SSH key from an instance.
  • Execute Command on Instance - Runs a command on an instance (output may be available via a result URL).
  • Start, Stop, or Label Instance - Changes instance state or label.
  • Prepay Instance - Adds prepaid credits to an instance.
  • Reboot Instance - Reboots an instance.
  • Recycle Instance - Recreates the instance container from the image without losing GPU priority.
  • Request Instance Logs - Requests container or daemon logs; Vast.ai uploads them to storage and returns a download URL.

Limitations

  • New Matching Offer can emit frequently because marketplace offer IDs change often.
  • New Invoice / Billing Event supports a configurable lookback window and row limit in the trigger setup; very large windows may return many rows per poll.

Templates

View all of Vast.ai's templates

Additional Vast.ai resources

Was this article helpful?
0 out of 0 found this helpful