Database backups

Get list of backups

Returns backups for the specified database.

GET/v1/databases/{databaseId}/backups
AuthorizationBearer <token>

OAuth2 authentication

In: header

Scope: workspace:admin, offline_access

Path Parameters

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

Query Parameters

limit?integer
Default25
Range1 <= value <= 100

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api.prisma.io/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
  }
}