---
title: "Get a database"
method: GET
path: "/v1/databases/{id}"
tags: ["Databases"]
---

# Get a database

`GET /v1/databases/{id}`

get a database that user owns

## Path parameters

- `id` string, required

## Response `200`

Successful operation

## Other responses

- `400` — Bad request
- `401` — Missing authentication
- `404` — Database not found

## Changes

> 8 revisions in range; 1 not diffed.

- **2023-10-01** `be0fd6a4d454` — 1 warning, 1 info
  - removed the optional property `database/_id` from the response with the `200` status
  - added the optional property `database/DBId` to the response with the `200` status

[Change history](https://skmtc.dev/liara-cloud/apis/dbaas/changes/v1/databases/:id/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/a8a555e0bb75/schema)
