# Get a Snapshot Schedule

Launch stage: Beta

`GET /api/2.0/postgres/{name=projects/*/branches/*/snapshot-schedule}`

Retrieves the snapshot schedule for a branch. A branch with no configured
 schedule returns an empty schedule (not NOT_FOUND).

API scopes: postgres

## Path parameters

- `name` (string, required)
  The resource name of the branch's snapshot schedule.
   Format: projects/{project_id}/branches/{branch_id}/snapshot-schedule

## Returns

Returns the SnapshotSchedule object.

## Response

```json
{
  "name": "string",
  "schedule": [
    {
      "daily_schedule": {},
      "weekly_schedule": {},
      "monthly_schedule": {},
      "retention": "string"
    }
  ]
}
```

