---
title: "List database versions"
method: GET
path: "/v1/databases/versions"
tags: ["Databases"]
---

# List database versions

`GET /v1/databases/versions`

## Request

- Base URL: `https://api.liara.ir`
- URL: `https://api.liara.ir/v1/databases/versions`
- Auth: none required

Lists the version labels available for each database type. No API token is needed. `GET /v1/me` also returns the versions with their `value`s, which you use when creating a database.

## Response `200`

Versions by type.

- object
  - `databases` object[]
    - `name` 'mysql' | 'mariadb' | 'postgres' | 'mongodb' | 'redis' | 'mssql' | 'elasticsearch' | 'rabbitmq' | 'clickhouse'
    - `labels` string[]

## Changes

> 21 revisions in range; 1 not diffed.

- **2026-11-02** `f6f78c6f05c6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/liara-cloud/apis/dbaas/changes/v1/databases/versions/get.md)

---

[API](https://skmtc.dev/liara-cloud/apis/dbaas.md) - [All operations](https://skmtc.dev/liara-cloud/apis/dbaas/llms.txt) - [OpenAPI document](https://skmtc.dev/liara-cloud/apis/dbaas/revisions/f6f78c6f05c6?raw)
