Skip to content
Management API Reference

Lists all backups

get/v1/projects/{ref}/database/backups

OAuth scopes

  • database:read

The fine-grained token must include the following permissions to access this endpoint:

  • backups_read

Path parameters

  • ref
    Required
    string

    Project ref

Response codes

  • 200
  • 401
  • 403
  • 429
  • 500

Response (200)

1
{
2
"region": "lorem",
3
"walg_enabled": true,
4
"pitr_enabled": true,
5
"backups": [
6
{
7
"id": -9007199254740991,
8
"is_physical_backup": true,
9
"status": "COMPLETED",
10
"inserted_at": "lorem"
11
}
12
],
13
"physical_backup_data": {
14
"earliest_physical_backup_date_unix": -9007199254740991,
15
"latest_physical_backup_date_unix": -9007199254740991
16
}
17
}