CorefinityCorefinityDocs
Open the Control PanelControl Panel
Packages and capacity · 7 of 12

List packages

Answers the packages on offer, in order of size, with what each holds and the platforms it can run; prices are in GET /corestack/billing/catalogue and in a quote. product_line=cc (the default) lists the CoreCluster packages; product_line=cs lists the CoreStack site packages.

GET/api/corestack/packages

Query parameters

product_linestring

cc for CoreCluster packages (the default), cs for CoreStack site packages. Defaults to cc.

cccs
regionstring

Only the packages offered in this region.

ukusnlaus
platformstring

Only the packages that can run this platform, such as wordpress. A platform you are not offered is refused, naming the ones you are.

familystring

A server type. It is accepted and changes nothing, because every package is offered on both.

generaloptimised
cluster_idinteger

One of your CoreClusters, for the CoreCluster packages. It marks the package the CoreCluster is on (current) and what a change to each other one would be (change). At least 1.

Returns

200 The packages.

Fields of the 200 answer
ladderarray of stringsRequired

The keys of packages, smallest first.

packagesarray of objectsRequired
Fields of each item
capacityobjectRequired
Fields
cpu_millicoresintegerRequired
memory_bytesintegerRequired
changestring or nullRequired

With cluster_id, what moving the CoreCluster to this package would be: upgrade, downgrade, shape_change (a larger package on servers of another shape) or current (the package it is on). Null without cluster_id.

upgradedowngradeshape_changecurrentnull
codestringRequired
coresnumberRequired
currentbooleanRequired

With cluster_id, whether the CoreCluster is on this package.

estimatesobject

What a site of each platform and size is expected to use, by platform and then by size.

familiesarray of strings

The server types the package is offered on.

included_uatobject or any or null

The staging environments a CoreStack package includes, or null when it includes none.

keystringRequired

The package's key, as the package and CoreCluster routes take it.

limitsobjectRequired
Fields
snapshot_frequencystringRequired
snapshot_quota_bytesintegerRequired
snapshot_retention_daysintegerRequired
storage_bytesintegerRequired
log_quota_gbnumber or null
log_retention_daysinteger or null
memory_per_core_gibnumberRequired
namestringRequired
platformsarray of stringsRequired

The platforms the package can run.

product_linestringRequired
cccs
regionsarray of stringsRequired
tiersarray of stringsRequired

The site sizes the package takes.

platformsarray of objectsRequired

The platforms a new site can be created on, each with its versions and site sizes.

Fields of each item
availablebooleanRequired
keystringRequired
labelstringRequired
reasonstring or nullRequired
product_linestringRequired
cccs

If it is refused

StatusReasonWhat to do
401noneSend a valid token as Authorization: Bearer <token>.
403company_unavailableYour company is unavailable.
403scope_requiredUse a token with the scope named in scope.
403two_factor_requiredTurn on two-factor on your account, then send again.
404feature_offThis feature is not on for your organisation yet.
422invalidFix the field named in field; errors says why.
429rate_limitedWait for the seconds in Retry-After.

Reasons are listed by name in Errors and refusals.

The same task elsewhere

curl https://manage.corefinity.com/api/corestack/packages \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json"
{
  "ladder": [
    "xsmall",
    "medium",
    "large"
  ],
  "packages": [
    {
      "capacity": {
        "cpu_millicores": 4000,
        "memory_bytes": 17179869184
      },
      "change": null,
      "code": "XSMALL",
      "cores": 4,
      "current": false,
      "estimates": {
        "laravel": {
          "L": {
            "cpu_millicores": 600,
            "disk_bytes": 64424509440,
            "memory_bytes": 3221225472
          },
          "M": {
            "cpu_millicores": 300,
            "disk_bytes": 32212254720,
            "memory_bytes": 1610612736
          },
          "S": {
            "cpu_millicores": 150,
            "disk_bytes": 10737418240,
            "memory_bytes": 805306368
          }
        },
        "magento2": {
          "L": {
            "cpu_millicores": 1500,
            "disk_bytes": 64424509440,
            "memory_bytes": 6442450944
          },
          "M": {
            "cpu_millicores": 750,
            "disk_bytes": 32212254720,
            "memory_bytes": 3221225472
          }
        },
        "wordpress": {
          "L": {
            "cpu_millicores": 600,
            "disk_bytes": 64424509440,
            "memory_bytes": 3221225472
          },
          "M": {
            "cpu_millicores": 300,
            "disk_bytes": 32212254720,
            "memory_bytes": 1610612736
          },
          "S": {
            "cpu_millicores": 150,
            "disk_bytes": 10737418240,
            "memory_bytes": 805306368
          }
        }
      },
      "families": [
        "general",
        "optimised"
      ],
      "included_uat": null,
      "key": "xsmall",
      "limits": {
        "snapshot_frequency": "6h",
        "snapshot_quota_bytes": 429496729600,
        "snapshot_retention_days": 30,
        "storage_bytes": 214748364800
      },
      "log_quota_gb": null,
      "log_retention_days": 90,
      "memory_per_core_gib": 4,
      "name": "Extra small",
      "platforms": [
        "wordpress"
      ],
      "product_line": "cc",
      "regions": [
        "uk"
      ],
      "tiers": [
        "S",
        "M",
        "L"
      ]
    },
    {
      "capacity": {
        "cpu_millicores": 8000,
        "memory_bytes": 34359738368
      },
      "change": null,
      "code": "MEDIUM",
      "cores": 8,
      "current": false,
      "estimates": {
        "laravel": {
          "L": {
            "cpu_millicores": 600,
            "disk_bytes": 64424509440,
            "memory_bytes": 3221225472
          },
          "M": {
            "cpu_millicores": 300,
            "disk_bytes": 32212254720,
            "memory_bytes": 1610612736
          },
          "S": {
            "cpu_millicores": 150,
            "disk_bytes": 10737418240,
            "memory_bytes": 805306368
          }
        },
        "magento2": {
          "L": {
            "cpu_millicores": 1500,
            "disk_bytes": 64424509440,
            "memory_bytes": 6442450944
          },
          "M": {
            "cpu_millicores": 750,
            "disk_bytes": 32212254720,
            "memory_bytes": 3221225472
          }
        },
        "wordpress": {
          "L": {
            "cpu_millicores": 600,
            "disk_bytes": 64424509440,
            "memory_bytes": 3221225472
          },
          "M": {
            "cpu_millicores": 300,
            "disk_bytes": 32212254720,
            "memory_bytes": 1610612736
          },
          "S": {
            "cpu_millicores": 150,
            "disk_bytes": 10737418240,
            "memory_bytes": 805306368
          }
        }
      },
      "families": [
        "general",
        "optimised"
      ],
      "included_uat": null,
      "key": "medium",
      "limits": {
        "snapshot_frequency": "6h",
        "snapshot_quota_bytes": 1288490188800,
        "snapshot_retention_days": 30,
        "storage_bytes": 644245094400
      },
      "log_quota_gb": null,
      "log_retention_days": 90,
      "memory_per_core_gib": 4,
      "name": "Medium",
      "platforms": [
        "wordpress"
      ],
      "product_line": "cc",
      "regions": [
        "uk"
      ],
      "tiers": [
        "S",
        "M",
        "L"
      ]
    },
    {
      "capacity": {
        "cpu_millicores": 12000,
        "memory_bytes": 51539607552
      },
      "change": null,
      "code": "LARGE",
      "cores": 12,
      "current": false,
      "estimates": {
        "laravel": {
          "L": {
            "cpu_millicores": 600,
            "disk_bytes": 64424509440,
            "memory_bytes": 3221225472
          },
          "M": {
            "cpu_millicores": 300,
            "disk_bytes": 32212254720,
            "memory_bytes": 1610612736
          },
          "S": {
            "cpu_millicores": 150,
            "disk_bytes": 10737418240,
            "memory_bytes": 805306368
          }
        },
        "magento2": {
          "L": {
            "cpu_millicores": 1500,
            "disk_bytes": 64424509440,
            "memory_bytes": 6442450944
          },
          "M": {
            "cpu_millicores": 750,
            "disk_bytes": 32212254720,
            "memory_bytes": 3221225472
          }
        },
        "wordpress": {
          "L": {
            "cpu_millicores": 600,
            "disk_bytes": 64424509440,
            "memory_bytes": 3221225472
          },
          "M": {
            "cpu_millicores": 300,
            "disk_bytes": 32212254720,
            "memory_bytes": 1610612736
          },
          "S": {
            "cpu_millicores": 150,
            "disk_bytes": 10737418240,
            "memory_bytes": 805306368
          }
        }
      },
      "families": [
        "general",
        "optimised"
      ],
      "included_uat": null,
      "key": "large",
      "limits": {
        "snapshot_frequency": "6h",
        "snapshot_quota_bytes": 1288490188800,
        "snapshot_retention_days": 30,
        "storage_bytes": 644245094400
      },
      "log_quota_gb": null,
      "log_retention_days": 90,
      "memory_per_core_gib": 4,
      "name": "Large",
      "platforms": [
        "wordpress"
      ],
      "product_line": "cc",
      "regions": [
        "uk"
      ],
      "tiers": [
        "S",
        "M",
        "L"
      ]
    }
  ],
  "platforms": [
    {
      "available": true,
      "content": {
        "empty": {
          "available": true,
          "reason": null
        },
        "fresh": {
          "available": true,
          "reason": null
        }
      },
      "default_tier": "S",
      "fresh_install_inputs": [
        {
          "default": "[email protected]",
          "label": "Admin email",
          "name": "admin_email",
          "required": false
        },
        {
          "default": "reseller_tq8glzxn",
          "label": "Admin username",
          "name": "admin_username",
          "required": false
        },
        {
          "default": null,
          "label": "Site title",
          "name": "site_title",
          "required": false
        },
        {
          "default": "en_GB",
          "label": "Language",
          "name": "locale",
          "required": false
        }
      ],
      "key": "wordpress",
      "label": "WordPress",
      "mariadb_versions": [
        {
          "default": false,
          "label": "MariaDB 11.4",
          "version": "11.4"
        },
        {
          "default": true,
          "label": "MariaDB 11.8",
          "version": "11.8"
        }
      ],
      "php_versions": [
        {
          "default": true,
          "eol_date": "2027-12-31",
          "label": "PHP 8.3",
          "status": "supported",
          "version": "8.3"
        },
        {
          "default": false,
          "eol_date": "2028-12-31",
          "label": "PHP 8.4",
          "status": "supported",
          "version": "8.4"
        }
      ],
      "reason": null,
      "tiers": [
        {
          "available": true,
          "disk_bytes": 10737418240,
          "estimate": {
            "cpu_millicores": 150,
            "disk_bytes": 10737418240,
            "memory_bytes": 805306368
          },
          "fits": true,
          "fits_reason": null,
          "key": "S",
          "label": "Small",
          "limits": {
            "cpu_millicores": 2000,
            "memory_bytes": 4294967296
          },
          "php_ini_defaults": {
            "max_execution_time_seconds": 300,
            "memory_limit_bytes": 536870912,
            "upload_max_filesize_bytes": 268435456
          },
          "php_max_children": 8,
          "php_memory_limit_bytes": 2617245696,
          "plain": "0.1 vCPU guaranteed, up to 2 vCPU · 512 MB guaranteed, up to 4 GB · 10 GB disk",
          "reason": null,
          "requests": {
            "cpu_millicores": 100,
            "memory_bytes": 536870912
          }
        },
        {
          "available": true,
          "disk_bytes": 32212254720,
          "estimate": {
            "cpu_millicores": 300,
            "disk_bytes": 32212254720,
            "memory_bytes": 1610612736
          },
          "fits": true,
          "fits_reason": null,
          "key": "M",
          "label": "Medium",
          "limits": {
            "cpu_millicores": 4000,
            "memory_bytes": 8589934592
          },
          "php_ini_defaults": {
            "max_execution_time_seconds": 300,
            "memory_limit_bytes": 536870912,
            "upload_max_filesize_bytes": 268435456
          },
          "php_max_children": 16,
          "php_memory_limit_bytes": 5301600256,
          "plain": "0.2 vCPU guaranteed, up to 4 vCPU · 1 GB guaranteed, up to 8 GB · 30 GB disk",
          "reason": null,
          "requests": {
            "cpu_millicores": 200,
            "memory_bytes": 1073741824
          }
        },
        {
          "available": true,
          "disk_bytes": 64424509440,
          "estimate": {
            "cpu_millicores": 600,
            "disk_bytes": 64424509440,
            "memory_bytes": 3221225472
          },
          "fits": true,
          "fits_reason": null,
          "key": "L",
          "label": "Large",
          "limits": {
            "cpu_millicores": 8000,
            "memory_bytes": 17179869184
          },
          "php_ini_defaults": {
            "max_execution_time_seconds": 300,
            "memory_limit_bytes": 536870912,
            "upload_max_filesize_bytes": 268435456
          },
          "php_max_children": 32,
          "php_memory_limit_bytes": 10737418240,
          "plain": "0.4 vCPU guaranteed, up to 8 vCPU · 2 GB guaranteed, up to 16 GB · 60 GB disk",
          "reason": null,
          "requests": {
            "cpu_millicores": 400,
            "memory_bytes": 2147483648
          }
        }
      ]
    }
  ],
  "product_line": "cc"
}
Try it
Held in this tab's memory only. Never stored or sent to us.

Use a token with only the read scope. How to make one

Was this helpful?
Open in ClaudeOpen in ChatGPT