Skip to main content
POST
/
instances
/
create
Create instance
curl --request POST \
  --url api.thundercompute.com:///8443/v1/instances/create \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cpu_cores": 4,
  "disk_size_gb": 100,
  "gpu_type": "H100",
  "mode": "prototyping",
  "num_gpus": 1,
  "template": "ubuntu-22.04"
}
'
{
  "identifier": 123,
  "key": "<string>",
  "uuid": "<string>"
}

Authorizations

Authorization
string
header
required

Body

application/json

Instance creation parameters

cpu_cores
integer
required
Example:

4

disk_size_gb
integer
required
Example:

100

gpu_type
string
required
Example:

"H100"

mode
string
required
Example:

"prototyping"

num_gpus
integer
required
Example:

1

template
string
required
Example:

"ubuntu-22.04"

Response

Created

identifier
integer
key
string
uuid
string