v1

latestOpenAPI 3.1.0MIT2026-07-2654137287.8 KB
organizations

Get CPU Availability

Gets the CPU availability for the given organization

post/organizations/{organization_name}/availability/sce-cpu-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

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,
  "memory": 8192,
  "storage_amount": 1000000000
}

Response

Successfully retrieved CPU availability

available_cpu_batchinteger

The number of available CPU cores

on_call_cpuinteger

The amount of on-call CPU

Example response

{
  "available_cpu_batch": 1234,
  "on_call_cpu": 10245
}