Cubicle

List base images

GET
/v1/orgs/{org}/bases

Returns the base images a Box can be created from, as a bare array: default and omarchy, each with the size a new Box gets when the create request omits it. Any active member of {org} may list them; the list is the same for every organization.

available is true when at least one healthy Node offers the image. It does not check capacity, so Create a Box can still fail with 503 capacity.

See Boxes.

Authorization

headerAuthorizationBearer <token>

A service account API key (cbk_…), used directly as the bearer token. read keys may call only GET routes.

Path Parameters

org*string

The organization's name or ID.

Response Body

The base images.

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://api.cubicle.sh/v1/orgs/acme/bases'
Example Response
[  {    "id": "default",    "name": "Default",    "spec": {      "vcpus": 2,      "memoryMiB": 2048,      "diskGiB": 12    },    "available": true  },  {    "id": "omarchy",    "name": "Omarchy",    "spec": {      "vcpus": 4,      "memoryMiB": 8192,      "diskGiB": 40    },    "available": true  }]