List PostgreSQL types

List the plans we offer. Returns every plan in one page.

GET https://{availability_zone}.betterstackcloud.com/v1/postgres-types
Authorization string required

Bearer $TOKEN

200 OK
{
  "data": [
    {
      "name": "Example PostgreSQL type",
      "usable_storage_gb": 1,
      "max_connections": 1,
      "max_pooled_connections": 1,
      "vcpu": 1,
      "ram_gb": 1,
      "availability": "global",
      "replacement": "example"
    }
  ]
}

Returns the list of PostgreSQL types.

id string

The ID of the PostgreSQL type.

name string

The plan's name. Send it as type when you create or rescale a PostgreSQL instance.

usable_storage_gb integer

The disk space for your data, in GiB.

max_connections integer

The most direct connections to PostgreSQL at once.

max_pooled_connections integer

The most client connections to PgBouncer at once.

vcpu integer

The number of virtual CPUs on each member.

ram_gb integer

The memory on each member, 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 an offered plan.