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

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

async function run() {
  const result = await latitudesh.projects.create({
    data: {
      type: "projects",
      attributes: {
        name: "Bailey and Sons",
        provisioningType: "on_demand",
        description: "Thick slices of French toast bread, brown sugar, half-and-half and vanilla, topped with powdered sugar. With two eggs served any style, and your choice of smoked bacon or smoked ham.",
        environment: "Development",
      },
    },
  });

  console.log(result);
}

run();
{
  "data": {
    "id": "proj_0L6WO156OPlXy",
    "type": "projects",
    "attributes": {
      "tags": [],
      "name": "Bailey and Sons",
      "slug": "bailey-and-sons",
      "description": "Thick slices of French toast bread, brown sugar, half-and-half and vanilla, topped with powdered sugar. With two eggs served any style, and your choice of smoked bacon or smoked ham.",
      "bandwidth_alert": null,
      "environment": "Development",
      "provisioning_type": "on_demand",
      "billing_type": "Normal",
      "billing_method": "Normal",
      "billing": {
        "subscription_id": "sub_wj7zk7mu35c2yq",
        "type": "Normal",
        "method": "Normal"
      },
      "team": {
        "id": "team_72lL07N6leClEozwoxe9UVap9Aw",
        "name": "179 Team",
        "slug": "179-team",
        "description": "179 Team",
        "address": "Suite 460 74321 Nana Locks, Crystalport, TN 35908",
        "currency": {
          "id": "cur_AW6Q2D9lqKLpr",
          "code": "BRL",
          "name": "Brazilian Real",
          "currency_id": null
        },
        "status": "verified",
        "feature_flags": [],
        "limits": {
          "bare_metal": 5,
          "bare_metal_gpu": 1,
          "virtual_machine": null,
          "virtual_machine_gpu": 3,
          "database": null,
          "filesystem": null,
          "block_storage": null
        }
      },
      "stats": {
        "databases": 0,
        "ip_addresses": 0,
        "prefixes": 0,
        "servers": 0,
        "storages": 0,
        "virtual_machines": 0,
        "vlans": 0
      },
      "created_at": "2026-01-14T15:56:39+00:00",
      "updated_at": "2026-01-14T15:56:39+00:00"
    }
  },
  "meta": {}
}

Authorizations

Authorization
string
header
required

Body

data
object

Response

201 - application/vnd.api+json

Created

data
object