POST
/
instances
/
create
/
{cpu_cores}
curl --request POST \
  --url https://api.thundercompute.com:8443/instances/create/{cpu_cores} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "cpu_cores": 4,
  "template": "base",
  "gpu_type": "t4",
  "num_gpus": 1,
  "disk_size_gb": 100
}'
{
  "uuid": "<string>",
  "key": "<string>",
  "identifier": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

cpu_cores
integer
required
Required range: x >= 0

Body

application/json

Response

200
application/json

OK

The response is of type object.