Skip to main content
GET
/
plans
/
storage
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.listStorage();

  console.log(result);
}

run();
{
  "data": [
    {
      "id": "plan_059EqY7kOQj8p",
      "type": "storage_plans",
      "attributes": {
        "name": "Filesystem",
        "regions": [
          {
            "name": "United States",
            "locations": [
              "DAL"
            ],
            "pricing": {
              "USD": {
                "month": 0.12
              },
              "BRL": {
                "month": 0.68
              }
            }
          }
        ]
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Response

200 - application/vnd.api+json

Success

data
object[]
meta
object