Skip to main content
GET
/
databases
/
{id}
/
backups
List database backups
curl --request GET \
  --url https://api.sevalla.com/v3/databases/{id}/backups \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "daily-backup-2025-01-15",
    "name": "daily-backup-2025-01-15",
    "display_name": "My Manual Backup",
    "type": "manual",
    "created_at": "2025-01-30T00:00:00.000Z",
    "expires_at": "2025-02-06T00:00:00.000Z"
  }
]

Authorizations

Authorization
string
header
required

API key authentication. Pass your API key as a Bearer token in the Authorization header.

Path Parameters

id
string<uuid>
required

Database identifier

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Example:

"fb5e5168-4281-4bec-94c5-0d1584e9e657"

Query Parameters

type
enum<string>

Filter backups by type. When omitted, both daily and manual backups are returned.

Available options:
daily,
manual

Response

Default Response

id
string
required

Backup identifier (K8s snapshot name)

Example:

"daily-backup-2025-01-15"

name
string
required

Backup snapshot name

Example:

"daily-backup-2025-01-15"

display_name
string
required

Human-readable name for the backup. For daily backups, this matches the snapshot name.

Example:

"My Manual Backup"

type
enum<string>
required

Backup type. daily - automatic daily backup with 7-day retention. manual - user-created backup with 14-day retention.

Available options:
daily,
manual
Example:

"manual"

created_at
string<date-time>
required

Timestamp when the backup was created, in ISO 8601 format

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
Example:

"2025-01-30T00:00:00.000Z"

expires_at
string<date-time>
required

Timestamp when the backup expires and will be automatically deleted, in ISO 8601 format

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
Example:

"2025-02-06T00:00:00.000Z"