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)

{
"region": "lorem",
"walg_enabled": true,
"pitr_enabled": true,
"backups": [
{
"id": -9007199254740991,
"is_physical_backup": true,
"status": "COMPLETED",
"inserted_at": "lorem"
}
],
"physical_backup_data": {
"earliest_physical_backup_date_unix": -9007199254740991,
"latest_physical_backup_date_unix": -9007199254740991
}
}