VoltageGPU LogoVoltageGPU

VoltageGPU API Documentation

GPU Cloud Computing API - Deploy and manage GPU pods programmatically with our powerful REST API

Base URL: https://api.voltagegpu.com

🚀 Quick Start

Get started with VoltageGPU API in minutes. Here's how to list available GPU machines:

# List available GPU machines with pricing
curl -X GET "https://api.voltagegpu.com/api/volt/machines" \
  -H "Content-Type: application/json"

# Response example:
{
  "success": true,
  "machines": [
    {
      "id": "rtx-4090-24gb",
      "name": "NVIDIA RTX 4090",
      "vram": "24GB",
      "price_per_hour": 0.45,
      "availability": "high"
    },
    {
      "id": "a100-80gb",
      "name": "NVIDIA A100",
      "vram": "80GB",
      "price_per_hour": 1.89,
      "availability": "medium"
    }
  ]
}

💡 Tip: No authentication required for listing machines. Get your API key from the Browse Pods to create and manage pods.

🔐 Authentication

All authenticated endpoints require an API key in the header. Your API key identifies your account and tracks usage for billing.

# Authenticated request example - List your pods
curl -X GET "https://api.voltagegpu.com/api/volt/pods" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"

# Create a new pod
curl -X POST "https://api.voltagegpu.com/api/volt/pods" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "my-gpu-pod",
    "machine_type": "rtx-4090-24gb",
    "template_id": "pytorch-2.0",
    "ssh_key_id": "key_abc123"
  }'

🔑 Get your API key from the Dashboard Settings. Keep it secure and never share it publicly.

📚 API Reference

Templates

Pre-configured environments for your GPU pods. Templates include popular ML frameworks like PyTorch, TensorFlow, and more.

MethodEndpointDescriptionAuth
GET/api/volt/templatesList all available templates
POST/api/volt/templatesCreate a custom template
GET/api/volt/templates/:idGet template details by ID
PUT/api/volt/templates/:idUpdate your template
DELETE/api/volt/templates/:idDelete your template

Machines

Browse available GPU machines with real-time pricing and availability information.

MethodEndpointDescriptionAuth
GET/api/volt/machinesList all GPU machines with pricing

Pods

Create, manage, and control your GPU pod instances. Pods are your running GPU environments.

MethodEndpointDescriptionAuth
GET/api/volt/podsList all your pods
POST/api/volt/podsCreate a new GPU pod
GET/api/volt/pods/:idGet pod details and status
PUT/api/volt/pods/:idUpdate pod configuration
DELETE/api/volt/pods/:idTerminate and delete pod
POST/api/volt/pods/:id/startStart a stopped pod
POST/api/volt/pods/:id/stopStop a running pod

SSH Keys

Manage SSH keys for secure access to your GPU pods via terminal.

MethodEndpointDescriptionAuth
GET/api/volt/ssh-keysList your SSH keys
POST/api/volt/ssh-keysAdd a new SSH key
GET/api/volt/ssh-keys/:idGet SSH key details
DELETE/api/volt/ssh-keys/:idRemove an SSH key

Docker Credentials

Store Docker registry credentials for pulling private images to your pods.

MethodEndpointDescriptionAuth
GET/api/volt/docker-credentialsList Docker credentials
POST/api/volt/docker-credentialsAdd Docker credential
GET/api/volt/docker-credentials/:idGet credential details
DELETE/api/volt/docker-credentials/:idRemove credential

API Keys

Manage your API keys for programmatic access to VoltageGPU services.

MethodEndpointDescriptionAuth
GET/api/volt/api-keysList your API keys
POST/api/volt/api-keysGenerate a new API key
DELETE/api/volt/api-keys/:idRevoke an API key

⚠️ Error Handling

All API errors follow a consistent JSON format for easy handling in your applications:

{
  "success": false,
  "error": "HTTP error",
  "message": "API key missing from headers",
  "status_code": 401,
  "timestamp": "2026-01-08T12:00:00.000Z"
}

Common Status Codes

200Success - Request completed successfully
201Created - Resource created successfully
400Bad Request - Invalid parameters or request body
401Unauthorized - Missing or invalid API key
403Forbidden - Insufficient permissions
404Not Found - Resource doesn't exist
429Too Many Requests - Rate limit exceeded
500Internal Server Error - Something went wrong

🚦 Rate Limits

To ensure fair usage and service stability, the following rate limits apply:

  • Public endpoints: 100 requests per minute
  • Authenticated endpoints: 1000 requests per minute
  • Pod creation: 10 pods per minute

Rate limit headers are included in all responses:

X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Reset: 1704715200

💡 If you need higher rate limits for your use case, please contact our support team.