Skip to main content
GET
/
plans
/
virtual_machines
Typescript (SDK)
import { Latitudesh } from "latitudesh-typescript-sdk";

const latitudesh = new Latitudesh({
  bearer: process.env["LATITUDESH_BEARER"] ?? "",
});

async function run() {
  const result = await latitudesh.plans.vm.list();

  console.log(result);
}

run();
{
  "data": [
    {
      "id": "plan_aNmodj4eDbE8W",
      "type": "virtual_machine_plans",
      "attributes": {
        "name": "vm.l40s.tiny",
        "specs": {
          "memory": 16,
          "gpu": "NVIDIA H100 Tensor Core GPU",
          "vram_per_gpu": "",
          "vcpus": 14,
          "disk": {
            "type": "local",
            "size": {
              "amount": 150,
              "unit": "gib"
            }
          }
        },
        "regions": [
          {
            "name": "United States",
            "available": [
              "DAL"
            ],
            "pricing": {
              "USD": {
                "hour": 1,
                "month": 720,
                "year": 8640
              },
              "BRL": {
                "hour": 1,
                "month": 720,
                "year": 8640
              }
            }
          }
        ],
        "stock_level": "low"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Query Parameters

filter[gpu]
boolean

Filter plans by GPU availability

Response

200 - application/vnd.api+json

Success

data
object[]