Get a ClickHouse type

Get a ClickHouse plan by its name. You can get a deprecated plan only when it has a replacement.

GET https://{availability_zone}.betterstackcloud.com/v1/clickhouse-types/{name}
name string required

The name of the plan to get. Get it via betterstack clickhouse-type list.

Authorization string required

Bearer $TOKEN

200 OK
{
  "name": "Example ClickHouse type",
  "usable_disk_gb": 1,
  "max_concurrent_queries": 1,
  "vcpu": 1,
  "ram_gb": 1,
  "availability": "global",
  "replacement": "example"
}

Returns the ClickHouse type.

id string

The ID of the ClickHouse type.

name string

The plan name. Send it as type when you create or rescale a ClickHouse instance.

usable_disk_gb integer

Storage for your data, in GiB.

max_concurrent_queries integer

The most queries that can run at the same time.

vcpu integer

The number of virtual CPUs.

ram_gb integer

Memory, in GiB.

availability string

Whether you can order the plan.
Valid values:
global: You can order the plan.
unavailable: The plan is deprecated. Instances on it keep running, but you can't create or rescale to it.

replacement string or null

The plan to use instead of this deprecated one, or null for a plan you can order.