Deployments
Perform deployment action
Perform an action on a deployment such as start, stop, or restart.
X-API-Key<token>
GPU API key (format: mk_...). Generate from the dashboard
or via POST /api-keys.
In: header
Path Parameters
id*string
Deployment UUID
Header Parameters
Idempotency-Key?string
Unique key to prevent duplicate operations on retry
Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://gpu.huddleapis.com/api/v1/deployments/string/actions" \ -H "Content-Type: application/json" \ -d '{ "action": "delete" }'{
"code": "OK",
"data": {
"id": "string",
"provider_id": "string",
"resource_type": "cluster",
"hostname": "my-training-cluster",
"cluster_type": "1H100.80S.30V",
"image": "ubuntu-24.04-cuda-13.0-open-docker",
"os_name": "Ubuntu 24.04",
"location": "FIN-01",
"status": "running",
"ip": "95.216.229.232",
"ssh_user": "root",
"ssh_key_ids": [
"string"
],
"specs": {
"gpu_model": "H100",
"gpu_count": 1,
"gpu_vram_gb": 80,
"total_vram_gb": 80,
"vcpu_count": 30,
"ram_gb": 120,
"storage_gb": 0,
"price_per_hr": 2.29,
"currency": "USD"
},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
}{
"code": "BAD_REQUEST",
"error": "Missing required field: hostname"
}{
"code": "BAD_REQUEST",
"error": "Missing required field: hostname"
}{
"code": "BAD_REQUEST",
"error": "Missing required field: hostname"
}