---
title: "Get all databases"
method: GET
path: "/v1/databases"
tags: ["Databases"]
---

# Get all databases

`GET /v1/databases`

get all databases that user owns

## Response `200`

Successful operation

- DBsDetails
  - `databases` object[]
    - `DBId` string — The ID of the database
    - `type` string — The type of the database
    - `planID` string — The plan ID
    - `status` string — The status of the database
    - `scale` integer — The scale of the database
    - `hostname` string — The hostname of the database
    - `publicNetwork` boolean — Indicates if the database is on a public network
    - `created_at` string — The creation timestamp of the database
    - `internalPort` integer — The internal port of the database
    - `id` string — The unique ID of the database

## Other responses

- `400` — Bad request
- `401` — Missing authentication

## Changes

> 19 revisions in range; 1 not diffed.

- **2023-10-06** `5f87209bfb82` — 1 breaking, 1 info
  - removed the media type `Databaselication/json` for the response with the status `200`
  - added the media type `application/json` for the response with the status `200`
- **2023-10-01** `be0fd6a4d454` — 1 warning, 1 info
  - removed the optional property `databases/items/_id` from the response with the `200` status
  - added the optional property `databases/items/DBId` to the response with the `200` status
- **2023-09-28** `9f7f05298db1` — 1 info
  - api operation id `getListDatabases` was added
- **2023-09-25** `47b5df51d3e7` — 1 info
  - added the media type `Databaselication/json` for the response with the status `200`

[Change history](https://skmtc.dev/liara-cloud/apis/dbaas/changes/v1/databases/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-service-production.skmtc.workers.dev/v1/apis/liara-cloud/dbaas/revisions/6423b3e16f16/schema)
