/instances/create
Create and launch an instance with the selected cloud provider, GPU, region, and launch configurations.
post/instances/create
Request body
Example request
{
"cloud": "tensordock",
"region": "na-us-bos-1",
"shade_instance_type": "A100",
"shade_cloud": true,
"name": "cool-gpu-server",
"launch_configuration": {
"type": "docker",
"args": "--model-id mistralai/Mistral-7B-v0.1",
"image": "vllm/vllm-openai:latest"
},
"os": "ubuntu22.04_cuda12.2_shade_os"
}Response
Returns a CreateResponse object
Example response
{
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"cloud_assigned_id": "13b057d7-e266-4869-985f-760fe75a78b3"
}