Get started

Start here with examples through api workflow listed below!

1. Create Credential for Private Image


curl -X POST https://api.yottalabs.ai/v2/container-registry-auths \
  -H "X-Api-Key: {X-Api-Key}" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "my-private-registry",
    "type": "DOCKER_HUB",
    "username": "myuser",
    "password": "mypassword"
  }'

2. Create VM

curl -X POST https://api.yottalabs.ai/v2/vms \
  -H "X-Api-Key: {X-Api-Key}" \
  -H "Content-Type: application/json" \
  -d '{
    "vmTypeId": 1,
    "region": "us-east-1",
    "name": "dev-vm",
    "isSpot": 0,
    "volumeMountPaths": {
      "123": "/mnt/data",
      "456": "/mnt/models"
    }
  }'

3. Create Pod with GPU

4. Create Elastic Endpoint (QUEUE Mode)

5. List and Monitor Resources

Last updated

Was this helpful?