Postgres Versions

The postgres-versions endpoint allows you to retrieve all the PostgreSQL versions available.

See the Getting Started section for details on retrieving a short lived token you can use to submit requests to this endpoint.

Listing PostgreSQL versions

GET /postgres-versions

The Authorization header is required, with the value set to Bearer {access_token}.

Request example

curl --request GET ""\
    --header "Accept: application/json"\
    --header "Authorization: Bearer 22rpvk7jjdqfci6rjbrl24x5m"

Response example

Status code: 200 OK

  "postgres_versions": [
      "id": "j3q37vrb2zh47ootyznoe7gb3m",
      "display_name": "Postgres 12",
      "major_version": 12
      "id": "6ibnzig5avgutdgdzei2jwvvt4",
      "display_name": "Postgres 13",
      "major_version": 13
      "id": "pznxu5pmq5fcxhbjxiqlunliri",
      "display_name": "Postgres 14",
      "major_version": 14
Response item Type Description
id string Unique identifier for the postgres version
display_name string name that should be displayed publicly.
major_version integer Version number