Pods
Create a new pod
Pod Create Request v2
Acceptable region codes
["sa-east-1"]Pod name
train-job-01Docker image name
pytorch/pytorch:2.0.0-cuda11.7-cudnn8-runtimeContainer registry auth ID
123Image registry URL
https://index.docker.ioImage type: PUBLIC or PRIVATE
PUBLICPossible values: Resource type: GPU or CPU
GPUPossible values: GPU type
NVIDIA_RTX_4090_24GGPU count (must be power of 2)
1Create on Spot resource when true
falseSpot instance max hourly price cap for the whole machine; only valid when isSpot=true
0.91Shared memory size in GB
1Minimum single card RAM in GB
32Minimum single card VRAM in GB
24Minimum single card vCPU count
8Container volume size in GB
100Initialization command
echo helloPod lifecycle webhook callback URL. When creating a Pod, you can provide a callbackUrl in the request body. The platform will send HTTP POST notifications to this URL whenever the Pod transitions into a key lifecycle state (RUNNING, TERMINATED, FAILED, or DEGRADED).
https://example.com/pod-callbackOK
message
successcode
10000Bad Request
Internal Server Error
Pod created successfully
Invalid request parameters
POST /v2/pods HTTP/1.1
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 698
{
"regions": [
"us-east-1"
],
"name": "train-job-01",
"image": "yottalabsai/pytorch:2.9.0-py3.11-cuda12.8.1-cudnn-devel-ubuntu22.04",
"containerRegistryAuthId": 123,
"imageRegistry": "https://index.docker.io",
"imagePublicType": "PUBLIC",
"resourceType": "GPU",
"gpuType": "NVIDIA_RTX_4090_24G",
"gpuCount": 1,
"isSpot": false,
"maxPrice": 0.91,
"shmInGb": 1,
"minSingleCardRamInGb": 32,
"minSingleCardVramInGb": 24,
"minSingleCardVcpu": 8,
"containerVolumeInGb": 100,
"initializationCommand": "echo hello",
"environmentVars": [
{
"key": "HF_HOME",
"value": "/workspace/cache"
}
],
"expose": [
{
"port": 8000,
"protocol": "HTTP"
}
],
"volumes": [
{
"id": "448086953767260529",
"mountPath": "/workspace/data"
}
],
"callbackUrl": "https://example.com/pod-callback"
}{
"message": "success",
"code": 10000,
"data": {
"id": "453558748008137211",
"orgId": "398890716618167180",
"applicantId": "399129473195316049",
"name": "train-job-01",
"imageId": "34",
"officialImage": "CUSTOM",
"imagePublicType": "PUBLIC",
"image": "yottalabsai/pytorch:2.9.0-py3.11-cuda12.8.1-cudnn-devel-ubuntu22.04",
"imageRegistry": "https://yottalabsai.docker.io",
"imageRegistryUsername": null,
"resourceType": "GPU",
"gpuType": "NVIDIA_RTX_4090_24G",
"gpuDisplayName": "RTX 4090",
"gpuCount": 1,
"shmInGb": 1,
"singleCardVramInGb": 24,
"singleCardRamInGb": 32,
"singleCardVcpu": 8,
"location": null,
"region": "us-east-1",
"cloudType": "SECURE",
"containerVolumeInGb": 100,
"persistentVolumeInGb": null,
"persistentMountPath": null,
"networkUploadMbps": "0",
"networkDownloadMbps": "0",
"diskReadSpeedMbps": "0",
"diskWriteSpeedMbps": "0",
"singleCardPrice": "0.48",
"persistentVolumePrice": "0.00005",
"containerVolumePrice": "0.00005",
"initializationCommand": "echo hello",
"environmentVars": [
{
"key": "HF_HOME",
"value": "/workspace/cache"
},
{
"key": "POD_ID",
"value": "453558748008137211"
}
],
"expose": [
{
"port": 8000,
"proxyPort": null,
"protocol": "HTTP",
"host": "",
"healthy": false,
"ingressUrl": "",
"serviceName": null
}
],
"sshCmd": null,
"status": "INITIALIZING",
"isSpot": false,
"callbackUrl": "https://example.com/pod-callback",
"createdAt": "1780639232239",
"updatedAt": "1780639232239",
"volumes": [],
"internalIp": null,
"desiredState": null
}
}Delete a pod
0OK
message
successcode
10000data
Bad Request
Internal Server Error
Pod deleted
Pod not found
DELETE /v2/pods/{id} HTTP/1.1
x-api-key: YOUR_API_KEY
Accept: */*
{
"message": "success",
"code": 10000,
"data": null
}Resume a paused pod
0OK
message
successcode
10000data
Bad Request
Internal Server Error
Pod resumed
Pod not found
POST /v2/pods/{id}/resume HTTP/1.1
x-api-key: YOUR_API_KEY
Accept: */*
{
"message": "success",
"code": 10000,
"data": null
}Pause a running pod
454423236680860400OK
message
successcode
10000data
Bad Request
Internal Server Error
Pod paused
Pod not found
POST /v2/pods/{id}/pause HTTP/1.1
x-api-key: YOUR_API_KEY
Accept: */*
{
"message": "success",
"code": 10000,
"data": null
}Get all pods for your organization
Filter by status names, e.g. RUNNING, PAUSED, TERMINATED
Success, returns list of pods
message
successcode
10000Bad Request
Internal Server Error
Success
GET /v2/pods HTTP/1.1
x-api-key: YOUR_API_KEY
Accept: */*
{
"message": "success",
"code": 10000,
"data": [
{
"id": "453558748008137211",
"orgId": "398890716618167180",
"applicantId": "399129473195316049",
"name": "train-job-01",
"image": "yottalabsai/pytorch:2.9.0-py3.11-cuda12.8.1-cudnn-devel-ubuntu22.04",
"imageRegistry": "https://index.docker.io/v1/",
"gpuType": "NVIDIA_RTX_4090_24G",
"gpuDisplayName": "RTX 4090",
"gpuCount": 1,
"region": "us-east-1",
"cloudType": "SECURE",
"containerVolumeInGb": 100,
"status": "RUNNING",
"isSpot": false,
"callbackUrl": "https://example.com/pod-callback",
"createdAt": "1780639232239",
"volumes": [],
"internalIp": "10.244.243.48",
"nodePool": "reserved",
"reserveActive": true
},
{
"id": "452471747896914736",
"orgId": "398890716618167180",
"applicantId": "399129473195316049",
"name": "pod_polite_einstein",
"image": "yottalabsai/pytorch:2.9.0-py3.11-cuda12.8.1-cudnn-devel-ubuntu22.04",
"imageRegistry": "https://index.docker.io/v1/",
"gpuType": "NVIDIA_H100_80G",
"gpuDisplayName": "H100",
"gpuCount": 2,
"region": "eu-2",
"cloudType": "SECURE",
"containerVolumeInGb": 256,
"status": "FAILED",
"isSpot": false,
"callbackUrl": null,
"createdAt": "1780380071217",
"volumes": [],
"internalIp": "",
"nodePool": "shared",
"reserveActive": false
}
]
}Get details of a specific pod
0OK
message
successcode
10000Bad Request
Internal Server Error
Pod found
Pod not found
GET /v2/pods/{id} HTTP/1.1
x-api-key: YOUR_API_KEY
Accept: */*
{
"message": "success",
"code": 10000,
"data": {
"id": "453558748008137211",
"orgId": "398890716618167180",
"applicantId": "399129473195316049",
"name": "train-job-01",
"imageId": "34",
"officialImage": "CUSTOM",
"imagePublicType": "PUBLIC",
"image": "yottalabsai/pytorch:2.9.0-py3.11-cuda12.8.1-cudnn-devel-ubuntu22.04",
"imageRegistry": "https://yottalabsai.docker.io",
"imageRegistryUsername": null,
"resourceType": "GPU",
"gpuType": "NVIDIA_RTX_4090_24G",
"gpuDisplayName": "RTX 4090",
"gpuCount": 1,
"shmInGb": 1,
"singleCardVramInGb": 24,
"singleCardRamInGb": 32,
"singleCardVcpu": 8,
"location": "North Carolina",
"region": "us-east-1",
"cloudType": "SECURE",
"containerVolumeInGb": 100,
"persistentVolumeInGb": null,
"persistentMountPath": null,
"networkUploadMbps": "146.92352",
"networkDownloadMbps": "806.723584",
"diskReadSpeedMbps": "3558.858752",
"diskWriteSpeedMbps": "2883.837952",
"singleCardPrice": "0.48",
"persistentVolumePrice": "0.00005",
"containerVolumePrice": "0.00005",
"initializationCommand": "echo hello",
"environmentVars": [
{
"key": "HF_HOME",
"value": "/workspace/cache"
},
{
"key": "POD_ID",
"value": "453558748008137211"
}
],
"expose": [
{
"port": 8000,
"proxyPort": 30058,
"protocol": "HTTP",
"host": "",
"healthy": false,
"ingressUrl": "https://b3g1x5od4794r-668.proxy.yottalabs.ai",
"serviceName": "HTTP Service"
}
],
"sshCmd": null,
"status": "RUNNING",
"isSpot": false,
"callbackUrl": "https://example.com/pod-callback",
"createdAt": "1780639232239",
"updatedAt": "1780652567274",
"volumes": [],
"internalIp": "10.244.243.48",
"desiredState": null,
"nodePool": "reserved",
"reserveActive": true
}
}List GPU machine spec options for Pod v2 create, including per-count availability, volume limits, and prices.
GPU list v2 request
Page number, 1-based
1Page size
10Region filters
["sa-east-1"]GPU type filters
["NVIDIA_RTX_4090_24G"]GPU card count filters
[1,2,4]Minimum GPU memory per card in GB
24Minimum RAM per GPU card in GB
32Minimum vCPU per GPU card
8Container volume size in GB. Omitted means no container-volume filtering.
100Local system volume size in GB. Omitted or null means no system-volume filtering.
Cloud type filters
["COMMUNITY"]Possible values: Accelerator vendor filter. Defaults to NVIDIA when omitted.
NVIDIAExample: NVIDIAPossible values: Whether to include unavailable resources
falseExample: falseSpot resource filter. Omitted means include both Spot and on-demand resources.
falseSuccess
message
successcode
10000Bad Request
Internal Server Error
Success
POST /v2/gpu/list HTTP/1.1
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 277
{
"page": 1,
"size": 10,
"gpuTypes": [
"NVIDIA_A100_80G"
],
"gpuCounts": [
1,
2,
4
],
"minGpuMemoryInGb": 24,
"minRamPerGpuInGb": 32,
"minVcpuPerGpu": 8,
"containerVolumeInGb": 100,
"systemVolumeInGb": null,
"cloudTypes": [
"SECURE"
],
"acceleratorVendor": "NVIDIA",
"includeUnavailable": true,
"isSpot": false
}{
"message": "success",
"code": 10000,
"data": {
"items": [
{
"gpuType": "NVIDIA_A100_80G",
"displayName": "A100 80G",
"gpuMemoryInGb": 80,
"region": "eu-1",
"cloudType": "SECURE",
"acceleratorVendor": "NVIDIA",
"isSpot": false,
"status": "AVAILABLE",
"maxGpuCount": 4,
"availableGpuCounts": [
1,
2
],
"ramPerGpuInGb": 120,
"vcpuPerGpu": 22,
"localDiskPerGpuInGb": 500,
"gpuCountOptions": [
{
"gpuCount": 1,
"available": true,
"totalGpuMemoryInGb": 80,
"totalRamInGb": 120,
"totalVcpu": 22,
"totalLocalDiskInGb": 500,
"containerVolume": {
"minInGb": 1,
"maxInGb": 500
},
"price": {
"pricePerGpuPerHour": "2.020000",
"gpuPricePerHour": "2.020000",
"containerVolumePricePerGbPerHour": "0.000050",
"currency": "USD"
}
},
{
"gpuCount": 2,
"available": true,
"totalGpuMemoryInGb": 160,
"totalRamInGb": 240,
"totalVcpu": 44,
"totalLocalDiskInGb": 1000,
"containerVolume": {
"minInGb": 1,
"maxInGb": 1000
},
"price": {
"pricePerGpuPerHour": "2.020000",
"gpuPricePerHour": "4.040000",
"containerVolumePricePerGbPerHour": "0.000050",
"currency": "USD"
}
}
]
}
],
"page": "1",
"size": "10",
"total": "3",
"pages": "1"
}
}Query pod container or system logs
0Log type
CONTAINERPossible values: Maximum number of log lines to return
100Cursor for pagination
eyJ0aW1lIjoxNzc5NzI0ODAwMDAwfQ==Start time, epoch milliseconds
1779724800000End time, epoch milliseconds
1779728400000Keyword filter
StartedOK
message
successcode
10000Bad Request
Internal Server Error
GET /v2/pods/{id}/logs HTTP/1.1
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"message": "success",
"code": 10000,
"data": {
"items": [
{
"timestamp": "2026-06-05T06:00:38.000Z",
"level": "UNKNOWN",
"content": "Adding user `user' ..."
},
{
"timestamp": "2026-06-05T06:00:38.000Z",
"level": "UNKNOWN",
"content": "Adding new group `user' (1001) ..."
},
{
"timestamp": "2026-06-05T06:00:38.000Z",
"level": "UNKNOWN",
"content": "Adding new user `user' (1001) with group `user' ..."
},
{
"timestamp": "2026-06-05T06:00:38.000Z",
"level": "UNKNOWN",
"content": "Creating home directory `/home/user' ..."
},
{
"timestamp": "2026-06-05T06:00:38.000Z",
"level": "UNKNOWN",
"content": "User 'user' created and configured for NOPASSWD sudo."
},
{
"timestamp": "2026-06-05T06:00:38.000Z",
"level": "UNKNOWN",
"content": "Starting Nginx service..."
},
{
"timestamp": "2026-06-05T06:00:38.000Z",
"level": "UNKNOWN",
"content": "Pod Started"
},
{
"timestamp": "2026-06-05T06:00:38.000Z",
"level": "UNKNOWN",
"content": "DSA key fingerprint: SHA256:<redacted> root@<hostname> (DSA)"
},
{
"timestamp": "2026-06-05T06:00:39.000Z",
"level": "UNKNOWN",
"content": "ECDSA key fingerprint: SHA256:<redacted> (ECDSA)"
},
{
"timestamp": "2026-06-05T06:00:39.000Z",
"level": "UNKNOWN",
"content": "ED25519 key fingerprint: SHA256:<redacted> (ED25519)"
},
{
"timestamp": "2026-06-05T06:00:3Get accumulated pod runtime using billing uptime semantics
0OK
message
successcode
10000Bad Request
Internal Server Error
GET /v2/pods/{id}/runtime HTTP/1.1
x-api-key: YOUR_API_KEY
Accept: */*
{
"message": "success",
"code": 10000,
"data": {
"id": "453558748008137211",
"name": "train-job-01",
"status": "RUNNING",
"createdAt": "1780639232239",
"updatedAt": "1780652567274",
"runningMillis": "14560452",
"runningSeconds": "14560"
}
}Last updated
Was this helpful?