Create instance
Changed onCreate a new compute instance. The optional mode field is retained for legacy compatibility. Its value does not select execution mode; routing is derived from num_gpus. New integrations should omit mode and use GET /v2/specs for available configurations.
SSH access: pass an SSH public key in the public_key field to seed the instance's authorized_keys. If omitted, Thunder generates a key pair and returns the private key in the response (it is only returned once — store it immediately).
Note: SSH keys saved in your account (Authentication section of the console) are a separate store and are NOT automatically attached to new instances. To use one of those keys, copy its public key material into the public_key field on this request.
Request
- Base URLhttps://api.thundercompute.com:8443/v1
- AuthAPI key in header Authorization
Request body
Example request
{
"cpu_cores": 4,
"disk_size_gb": 100,
"gpu_type": "H100",
"num_gpus": 1,
"template": "ubuntu-22.04"
}Response
Created
Changes
- info
request property
deprecated
- info
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
removed
subschema #1from the request bodyoneOflist - breaking
the request's body type changed from no type to
object - info
added the new optional request property
- info
added the new optional request property
- breaking