palbaseDocs

Palbase Machines · API

GET/machines/sizes

List machine sizes

Every machine size, smallest first: what a machine of it is given, whether it sleeps when idle, and whether this project may open or move a machine to it now. A size that is not open says why (reason): a size that is paid for is open to a project that may pay. The list is the module's, not the client's: a client offers what this answers.

Called by your server, with the project's secret key.

curl
curl -X GET "https://<your-ref>.palbase.studio/machines/sizes" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200List machine sizes

400Validation failed or a required field is missing

401Missing or invalid API key

403Not the project's secret key

429Over the project's request limit, or its machine time for this period is used up

503Temporarily unavailable; retrying is safe after Retry-After

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation ListMachineSizes of machines's contract.