---
title: "Get Backup Schedule"
method: GET
path: "/v0/sites/{site_id}/environments/{env_id}/backups/schedule"
tags: ["sites"]
---

# Get Backup Schedule

`GET /v0/sites/{site_id}/environments/{env_id}/backups/schedule`

## Request

- Base URL: `https://api.pantheon.io`
- URL: `https://api.pantheon.io/v0/sites/{site_id}/environments/{env_id}/backups/schedule`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/pantheon/apis/pantheon-public-api-service/docs/v0/sites/:site_id/environments/:env_id/backups/schedule/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves the backup schedule configuration for an environment.
Returns an array of 7 day objects (index 0=Sunday through 6=Saturday),
each containing the hour and TTL for backups on that day.

## Path parameters

- `site_id` string, required
- `env_id` string, required

## Response `200`

- BackupScheduleResponse: Array indices 0-6 represent Sunday through Saturday.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/pantheon/apis/pantheon-public-api-service.md) - [All operations](https://skmtc.dev/pantheon/apis/pantheon-public-api-service/llms.txt) - [OpenAPI document](https://skmtc.dev/pantheon/apis/pantheon-public-api-service/revisions/5d158d59f4c3?raw)
