Python (SDK)
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.filesystem_storage.list_filesystems(filter_project="small-rubber-shirt")
# Handle response
print(res)package main
import(
"context"
"os"
latitudeshgosdk "github.com/latitudesh/latitudesh-go-sdk"
"log"
)
func main() {
ctx := context.Background()
s := latitudeshgosdk.New(
latitudeshgosdk.WithSecurity(os.Getenv("LATITUDESH_BEARER")),
)
res, err := s.FilesystemStorage.ListFilesystems(ctx, latitudeshgosdk.Pointer("small-rubber-shirt"))
if err != nil {
log.Fatal(err)
}
if res.Filesystems != nil {
// handle response
}
}import { Latitudesh } from "latitudesh-typescript-sdk";
const latitudesh = new Latitudesh({
bearer: process.env["LATITUDESH_BEARER"] ?? "",
});
async function run() {
const result = await latitudesh.filesystemStorage.listFilesystems({
filterProject: "small-rubber-shirt",
});
console.log(result);
}
run();curl --request GET \
--url https://api.latitude.sh/storage/filesystems \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.latitude.sh/storage/filesystems', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.latitude.sh/storage/filesystems",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.get("https://api.latitude.sh/storage/filesystems")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.latitude.sh/storage/filesystems")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "fs_6059EqYkOQj8p",
"type": "filesystems",
"attributes": {
"name": "Intelligent Bronze Bench",
"size_in_gb": 1500,
"created_at": "2026-01-14T15:57:07.743Z",
"project": {
"id": "proj_695BdKNeOevVo",
"name": "Synergistic Bronze Wallet",
"slug": "synergistic-bronze-wallet",
"description": "Mediocre Bronze Computer",
"billing_type": "Normal",
"billing_method": "Normal",
"bandwidth_alert": false,
"environment": null,
"billing": {
"subscription_id": null,
"type": "Normal",
"method": "Normal"
},
"stats": {
"databases": 0,
"ip_addresses": 0,
"prefixes": 0,
"servers": 0,
"storages": 1,
"virtual_machines": 0,
"vlans": 0
}
},
"team": {
"id": "team_lV9Xe2AAK5CbMgGbpPYLskLRXyV",
"name": "601 Team",
"slug": "601-team",
"description": "601 Team",
"address": "20590 Deckow Divide, Lake Boris, NC 87947",
"status": "verified",
"currency": {
"id": "cur_AW6Q2D9lqKLpr",
"code": "BRL",
"name": "Brazilian Real",
"currency_id": null
}
}
}
},
{
"id": "fs_6VE1Wd37dXnZJ",
"type": "filesystems",
"attributes": {
"name": "Gorgeous Rubber Bench",
"size_in_gb": 1500,
"created_at": "2026-01-14T15:57:07.758Z",
"project": {
"id": "proj_yQrJdNm5O30gv",
"name": "Heavy Duty Copper Clock",
"slug": "heavy-duty-copper-clock",
"description": "Small Aluminum Shoes",
"billing_type": "Normal",
"billing_method": "Normal",
"bandwidth_alert": false,
"environment": null,
"billing": {
"subscription_id": null,
"type": "Normal",
"method": "Normal"
},
"stats": {
"databases": 0,
"ip_addresses": 0,
"prefixes": 0,
"servers": 0,
"storages": 1,
"virtual_machines": 0,
"vlans": 0
}
},
"team": {
"id": "team_lV9Xe2AAK5CbMgGbpPYLskLRXyV",
"name": "601 Team",
"slug": "601-team",
"description": "601 Team",
"address": "20590 Deckow Divide, Lake Boris, NC 87947",
"status": "verified",
"currency": {
"id": "cur_AW6Q2D9lqKLpr",
"code": "BRL",
"name": "Brazilian Real",
"currency_id": null
}
}
}
}
]
}Filesystem Storage
List filesystems
Lists all the filesystems from a team.
GET
/
storage
/
filesystems
Python (SDK)
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.filesystem_storage.list_filesystems(filter_project="small-rubber-shirt")
# Handle response
print(res)package main
import(
"context"
"os"
latitudeshgosdk "github.com/latitudesh/latitudesh-go-sdk"
"log"
)
func main() {
ctx := context.Background()
s := latitudeshgosdk.New(
latitudeshgosdk.WithSecurity(os.Getenv("LATITUDESH_BEARER")),
)
res, err := s.FilesystemStorage.ListFilesystems(ctx, latitudeshgosdk.Pointer("small-rubber-shirt"))
if err != nil {
log.Fatal(err)
}
if res.Filesystems != nil {
// handle response
}
}import { Latitudesh } from "latitudesh-typescript-sdk";
const latitudesh = new Latitudesh({
bearer: process.env["LATITUDESH_BEARER"] ?? "",
});
async function run() {
const result = await latitudesh.filesystemStorage.listFilesystems({
filterProject: "small-rubber-shirt",
});
console.log(result);
}
run();curl --request GET \
--url https://api.latitude.sh/storage/filesystems \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.latitude.sh/storage/filesystems', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.latitude.sh/storage/filesystems",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.get("https://api.latitude.sh/storage/filesystems")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.latitude.sh/storage/filesystems")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "fs_6059EqYkOQj8p",
"type": "filesystems",
"attributes": {
"name": "Intelligent Bronze Bench",
"size_in_gb": 1500,
"created_at": "2026-01-14T15:57:07.743Z",
"project": {
"id": "proj_695BdKNeOevVo",
"name": "Synergistic Bronze Wallet",
"slug": "synergistic-bronze-wallet",
"description": "Mediocre Bronze Computer",
"billing_type": "Normal",
"billing_method": "Normal",
"bandwidth_alert": false,
"environment": null,
"billing": {
"subscription_id": null,
"type": "Normal",
"method": "Normal"
},
"stats": {
"databases": 0,
"ip_addresses": 0,
"prefixes": 0,
"servers": 0,
"storages": 1,
"virtual_machines": 0,
"vlans": 0
}
},
"team": {
"id": "team_lV9Xe2AAK5CbMgGbpPYLskLRXyV",
"name": "601 Team",
"slug": "601-team",
"description": "601 Team",
"address": "20590 Deckow Divide, Lake Boris, NC 87947",
"status": "verified",
"currency": {
"id": "cur_AW6Q2D9lqKLpr",
"code": "BRL",
"name": "Brazilian Real",
"currency_id": null
}
}
}
},
{
"id": "fs_6VE1Wd37dXnZJ",
"type": "filesystems",
"attributes": {
"name": "Gorgeous Rubber Bench",
"size_in_gb": 1500,
"created_at": "2026-01-14T15:57:07.758Z",
"project": {
"id": "proj_yQrJdNm5O30gv",
"name": "Heavy Duty Copper Clock",
"slug": "heavy-duty-copper-clock",
"description": "Small Aluminum Shoes",
"billing_type": "Normal",
"billing_method": "Normal",
"bandwidth_alert": false,
"environment": null,
"billing": {
"subscription_id": null,
"type": "Normal",
"method": "Normal"
},
"stats": {
"databases": 0,
"ip_addresses": 0,
"prefixes": 0,
"servers": 0,
"storages": 1,
"virtual_machines": 0,
"vlans": 0
}
},
"team": {
"id": "team_lV9Xe2AAK5CbMgGbpPYLskLRXyV",
"name": "601 Team",
"slug": "601-team",
"description": "601 Team",
"address": "20590 Deckow Divide, Lake Boris, NC 87947",
"status": "verified",
"currency": {
"id": "cur_AW6Q2D9lqKLpr",
"code": "BRL",
"name": "Brazilian Real",
"currency_id": null
}
}
}
}
]
}Was this page helpful?
⌘I