API Keys
Last updated
Was this helpful?
Was this helpful?
X-Api-Key: {X-Api-Key}curl -X POST https://api.yottalabs.ai/v2/pods \
-H "X-Api-Key: {your-x-api-key}" \
-H "Content-Type: application/json" \
-d '{
"name": "test-pod",
"image": "yottalabsai/pytorch:2.9.0-py3.11-cuda12.8.1-cudnn-devel-ubuntu22.04",
"gpuType": "NVIDIA_RTX_4090_24G",
"gpuCount": 1,
"containerVolumeInGb": 50,
"regions": ["us-east-1"],
"minSingleCardVcpu": 8,
"minSingleCardRamInGb": 32,
"environmentVars": [
{"key": "PYTHONUNBUFFERED", "value": "1"}
],
"expose": [
{"port": 8888, "protocol": "http"}
]
}'