v1

latestOpenAPI 3.1.0MIT2026-07-2654137287.8 KB
organizations

Get GPU Availability

Gets the GPU availability for the given organization

post/organizations/{organization_name}/availability/sce-gpu-availability

Path parameters

organization_namestring required

Your organization name. This identifies the billing context for the API operation and represents a security boundary for SaladCloud resources. The organization must be created before using the API, and you must be a member of the organization.

Request body

country_codesCountryCode[]

A list of country codes where the resources are available

cpuinteger nullable

The number of available CPU cores

gpu_classesstring[] required

A list of available GPU class names

memoryinteger nullable

The amount of available memory in MB

storage_amountinteger nullable

The amount of available storage in bytes

Example request

{
  "country_codes": [
    "us",
    "ca"
  ],
  "cpu": 4,
  "gpu_classes": [
    "550e8400-e29b-41d4-a716-446655440000",
    "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
  ],
  "memory": 8192,
  "storage_amount": 1000000000
}

Response

Successfully retrieved GPU availability

available_gpu_batchinteger

The number of available GPU batches

available_gpu_highinteger

The number of available high-end GPUs

available_gpu_lowinteger

The number of available low-end GPUs

available_gpu_mediuminteger

The number of available medium-end GPUs

on_call_gpuinteger

The number of on-call GPUs available

Example response

{
  "available_gpu_batch": 2,
  "available_gpu_low": 1,
  "available_gpu_medium": 1,
  "on_call_gpu": 1
}