---
title: "List backup policies"
method: GET
path: "/organizations/{organization}/databases/{database}/backup-policies"
tags: ["BackupPolicies"]
---

# List backup policies

`GET /organizations/{organization}/databases/{database}/backup-policies`

### Authorization
A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:

**Service Token Accesses**
 `read_backups`

**OAuth Scopes**

 | Resource | Scopes |
| :------- | :---------- |
| Organization | `read_backups` |
| Database | `read_backups` |

## Path parameters

- `organization` string, required
- `database` string, required

## Query parameters

- `page` integer
- `per_page` integer

## Response `200`

Returns backup policies for the database

- object
  - `type` string, required — The response type. Always "list" for paginated responses.
  - `current_page` integer, required — The current page number
  - `per_page` integer, required — The maximum number of results per page
  - `next_page` integer, nullable, required — The next page number, or null when this is the last page
  - `next_page_url` string, nullable, required — The next page of results, or null when this is the last page
  - `prev_page` integer, nullable, required — The previous page number, or null when this is the first page
  - `prev_page_url` string, nullable, required — The previous page of results, or null when this is the first page
  - `data` object[], required
    - `id` string, required — The ID of the backup policy
    - `display_name` string, required — The display name of the backup policy
    - `name` string, required — The name of the backup policy
    - `target` 'production' | 'development', required — Whether the policy is for production or development branches
    - `retention_value` integer, required — A number value for the retention period of the backup policy
    - `retention_unit` string, required — The unit for the retention period of the backup policy
    - `frequency_value` integer, required — A number value for the frequency of the backup policy
    - `frequency_unit` string, required — The unit for the frequency of the backup policy
    - `schedule_time` string, required — The time of day that the backup is scheduled, in HH:MM format
    - `schedule_day` integer, nullable, required — Day of the week that the backup is scheduled. 0 is Sunday, 6 is Saturday
    - `schedule_week` integer, nullable, required — Week of the month that the backup is scheduled. 0 is the first week, 3 is the fourth week
    - `created_at` string, required — When the backup policy was created
    - `updated_at` string, required — When the backup policy was last updated
    - `last_ran_at` string, nullable, required — When the backup was last run
    - `next_run_at` string, nullable, required — When the backup will next run
    - `required` boolean, required — Whether the policy is a required system backup

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2026-08-11** `4b2e4f05bda2` — 1 info
  - added the required property `per_page` to the response with the `200` status
- **2026-06-01** `72506953f367` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/planetscale/apis/planetscale-api/changes/organizations/:organization/databases/:database/backup-policies/get.md)

---

[API](https://skmtc.dev/planetscale/apis/planetscale-api.md) · [All operations](https://skmtc.dev/planetscale/apis/planetscale-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/planetscale/planetscale-api/revisions/6d28c038c4fd/schema)
