/instances

Get all active and pending instances for the account associated with the api key passed in through the x-api-key header. When an instance is created, it should immediately be displayed as an item in the response of this API.

get/instances

Response

Returns an InstancesResponse object

Example response

{
  "instances": [
    {
      "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
      "cloud": "tensordock",
      "region": "na-us-bos-1",
      "shade_instance_type": "A100",
      "cloud_instance_type": "A100_PCIE_40GB",
      "cloud_assigned_id": "13b057d7-e266-4869-985f-760fe75a78b3",
      "shade_cloud": true,
      "name": "cool-gpu-server",
      "configuration": {
        "memory_in_gb": 12,
        "storage_in_gb": 256,
        "vcpus": 6,
        "num_gpus": 1,
        "gpu_type": "A100",
        "interconnect": "pcie",
        "os": "ubuntu_22_shade_os"
      },
      "ip": "1.0.0.1",
      "ssh_user": "shadeform",
      "ssh_port": 22,
      "status": "active",
      "cost_estimate": "103.4",
      "hourly_price": 210,
      "launch_configuration": {
        "type": "docker",
        "args": "--model-id mistralai/Mistral-7B-v0.1",
        "image": "vllm/vllm-openai:latest"
      },
      "created_at": "2016-08-29T09:12:33.001Z",
      "deleted_at": "2016-08-29T09:12:33.001Z"
    }
  ]
}

Changes