Prerequisites
- An API token (contact our sales team)
curl, Python withrequests, or Node.js withnode-fetch
Authentication
All API requests require a Bearer token in theAuthorization header.
Your token is non-transferable — all charges and resources are associated to your account through your token.
| Status | Meaning |
|---|---|
401 Unauthorized | Missing, invalid, or expired token |
403 Forbidden | Token is valid but you don’t have access to the requested resource |
Step 1: Check available GPUs
H100) and their canonical variants (like nvidia-h100-sxm5-80gb). You can use either format when requesting offers.
Step 2: Get offers
offer_id and expires after 30 minutes.
Step 3: Procure an offer
Step 4: Poll until ready
procurement_status is "ready", you’ll see instances with external_ip and ssh_command.
Step 5: Connect
Use the private key that corresponds to the public key you provided in Step 3:Step 6: Clean up
For a complete, copy-paste-ready script that handles the full lifecycle, see the Full Example.