POST
/
api
/
v1
/
pods
/
curl --request POST \
  --url https://api.primeintellect.ai/api/v1/pods/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "pod": {
    "name": "<string>",
    "cloudId": "<string>",
    "gpuType": "CPU_NODE",
    "socket": "PCIe",
    "gpuCount": 123,
    "diskSize": 123,
    "vcpus": 123,
    "memory": 123,
    "maxPrice": 123,
    "image": "ubuntu_22_cuda_12",
    "customTemplateId": "<string>",
    "dataCenterId": "<string>",
    "country": "<string>",
    "security": "secure_cloud",
    "envVars": [
      {
        "key": "<string>",
        "value": "<string>"
      }
    ],
    "jupyterPassword": "<string>",
    "autoRestart": true
  },
  "provider": {
    "type": "runpod"
  },
  "team": {
    "teamId": "<string>"
  }
}'
{
  "id": "<string>",
  "userId": "<string>",
  "teamId": "<string>",
  "walletId": "<string>",
  "name": "<string>",
  "type": "HOSTED",
  "providerType": "runpod",
  "status": "PROVISIONING",
  "installationStatus": "PENDING",
  "finalizerStatus": "SUCCESS",
  "installationFailure": "<string>",
  "installationProgress": 123,
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "gpuName": "CPU_NODE",
  "gpuCount": 1,
  "jupyterPassword": "<string>",
  "socket": "PCIe",
  "priceHr": 1.23,
  "stoppedPriceHr": 0.005,
  "provisioningPriceHr": 123,
  "basePriceHr": 123,
  "baseCurrency": "<string>",
  "environmentType": "ubuntu_22_cuda_12",
  "customTemplateId": "<string>",
  "primePortMapping": [
    {
      "internal": "8080",
      "external": "1234",
      "protocol": "TCP",
      "usedBy": "SSH",
      "description": "<string>"
    }
  ],
  "sshConnection": "<string>",
  "ip": "<string>",
  "resources": {
    "memory": "128",
    "disk": "1000",
    "vcpus": "32"
  },
  "attachedResources": [
    {
      "resourceType": "DISK",
      "id": "<string>",
      "status": "UNATTACHED",
      "isDetachable": true,
      "mountPath": "/workspace",
      "resourcePath": "<string>",
      "size": "<string>"
    }
  ],
  "isSpot": true,
  "autoRestart": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.