Skip to main content
Prisma Documentation Docs

Search documentation

Type to search this documentation.

On this pageOverview

Get list of backups

GET/v1/databases/{databaseId}/backups

Returns backups for the specified database.

AuthorizationBearer <token>

OAuth2 authentication

In: header

Scope: workspace:admin, offline_access

databaseId*string

Match^(db_)?([cC][^\s-]{8,}|[a-z0-9]+)$

limit?integer

Range1 <= value <= 100

Default25

curl -X GET "https://example.com/v1/databases/string/backups"
{
  "data": [
    {
      "id": "string",
      "backupType": "full",
      "createdAt": "string",
      "size": 0,
      "status": "running",
      "type": "backup"
    }
  ],
  "meta": {
    "backupRetentionDays": 0
  },
  "pagination": {
    "hasMore": true,
    "limit": 1
  }
}
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu