Documentation Index
Fetch the complete documentation index at: https://www.latitude.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
Create a server
Assign the created server to a virtual network
List all GPU plans
Check plan availability per location
lsh plans stock flattens the /plans API response into one row per plan × location, so you can see exactly where each plan has stock right now.
jq (use --format json when piping — the default table format requires an interactive terminal):
--region, --location (alias --site), --name, --slug, --gpu, --in_stock (alias --available), --stock_level (Unavailable, Low, Medium, High, Unique), --ram_eql / --ram_gte / --ram_lte, --disk_eql / --disk_gte / --disk_lte. Output formats: --format table|csv|json.
How stock_level is derived per location
The /plans API reports stock_level at the region level, plus two location lists:
locations.available— where the plan can be deployed at alllocations.in_stock— where there is inventory right now
plans stock gets its stock_level resolved per location:
- if the location is in
in_stock→ it inherits the region’sstock_level - otherwise →
unavailable
c3-large-x86 reports stock_level: high in United States with available: [DAL, LAX, NYC, CHI, ASH, MIA2, LAX2, SJC2, ASH2] and in_stock: [LAX, NYC, CHI, MIA2], the CLI outputs high for LAX/NYC/CHI/MIA2 and unavailable for the other five — so you never assume a location has stock just because the region does.
Create an on-demand project
Setting the output as a JSON
It is possible to render JSON if you want to see different fields or even parse the data using a JSON processor like jq. To format the output to JSON, you must pass-o json or —-json.
Example