Skip to main content
GET
/
plans
/
{plan_id}
Python (SDK)
from latitudesh_python_sdk import Latitudesh
import os


with Latitudesh(
    bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:

    res = latitudesh.plans.get(plan_id="plan_W6Q2D9plqKLpr")

    # Handle response
    print(res)
{
  "data": {
    "id": "plan_m5xyZOnNOWM0l",
    "type": "plans",
    "attributes": {
      "slug": "g3-l40s-small-32",
      "name": "g3.l40s.small-32",
      "features": [],
      "specs": {
        "cpu": {
          "type": "E-2276G",
          "clock": 3.8,
          "cores": 6,
          "count": 1
        },
        "memory": {
          "total": 32
        },
        "drives": [
          {
            "count": 1,
            "size": "3.8TB",
            "type": "SSD"
          }
        ],
        "nics": [
          {
            "count": 1,
            "type": "10 Gbps"
          }
        ],
        "gpu": {
          "count": 4,
          "type": "NVIDIA H100"
        }
      },
      "regions": [
        {
          "name": "Brazil",
          "deploys_instantly": [],
          "locations": {
            "available": [
              "SAO"
            ],
            "in_stock": [
              "SAO"
            ]
          },
          "stock_level": "medium",
          "pricing": {
            "USD": {
              "hour": 10,
              "month": 50,
              "year": 100
            },
            "BRL": {
              "hour": 53,
              "month": 108.5,
              "year": 205
            }
          }
        }
      ]
    }
  },
  "meta": {}
}

Authorizations

Authorization
string
header
required

Path Parameters

plan_id
string
required

Response

200 - application/vnd.api+json

Success

data
object
I