---
title: "Get Backups"
method: GET
path: "/api/v1/databases/{database_id}/backups"
tags: ["databases"]
---

# Get Backups

`GET /api/v1/databases/{database_id}/backups`

## Request

- Base URL: `https://api.mengi.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mengi.cloud/api/v1/databases/{database_id}/backups`
- Auth: none declared

List backups for a database instance.

The operator takes scheduled backups on the cluster by itself; the
worker mirrors them into this list. Opening the list asks for a fresh
mirror so a new scheduled backup shows up on the next refresh instead of
at the next periodic sweep.

## Path parameters

- `database_id` string, uuid, required

## Query parameters

- `skip` integer
- `limit` integer

## Response `200`

Successful Response

- DatabaseBackupListResponse
  - `backups` DatabaseBackupResponse[], required
    - `id` string, uuid, required
    - `database_instance_id` string, uuid, required
    - `backup_type` string, required
    - `status` string, required
    - `size_bytes` integer, nullable
    - `s3_path` string, nullable
    - `error_message` string, nullable
    - `started_at` string, date-time, nullable
    - `completed_at` string, date-time, nullable
    - `created_at` string, date-time, required
  - `total` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mengi/apis/mengi-cloud.md) · [All operations](https://skmtc.dev/mengi/apis/mengi-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/mengi/apis/mengi-cloud/revisions/4ae9b375cdbb?raw)
