List PostgreSQL databases

List the instance's databases. Returns every database in one page.

GET https://{availability_zone}.betterstackcloud.com/v1/postgres/{postgres_id}/databases
postgres_id string required

The ID of the PostgreSQL instance.

Authorization string required

Bearer $TOKEN

200 OK
{
  "data": [
    {
      "id": "example",
      "name": "Example PostgreSQL database",
      "created_at": "2026-07-01T12:00:00.000Z"
    }
  ]
}

Returns the list of PostgreSQL databases.

id string

The database's ID, a UUID.

name string

The database name, up to 63 lowercase letters, digits and underscores, starting with a letter or underscore. Can't be postgres, template0 or template1.

created_at datetime

When the database was created. In ISO 8601 format, such as 2026-07-01T12:00:00Z.