---
title: "Get scheduled freezes"
method: GET
path: "/repos/{owner}/{repository}/scheduled_freeze"
tags: ["scheduled_freeze"]
---

# Get scheduled freezes

`GET /repos/{owner}/{repository}/scheduled_freeze`

Get all the ongoing or scheduled freezes for the repository specified in the path

## Path parameters

- `owner` string, required — The owner of the repository
- `repository` string, required — The name of the repository

## Response `200`

Successful Response

- GetScheduledFreezesResponse
  - `scheduled_freezes` ScheduledFreezeObjectResponse[], required
    - `id` string, uuid, required
    - `reason` string, required
    - `start` string, date-time, required
    - `end` string, date-time, nullable, required
    - `timezone` string, required
    - `matching_conditions` union[], required
      - union
        - MatchingConditionsDictOutput
          - `and` union[]
            - union
              - …
          - `or` union[]
            - union
              - …
          - `not` MatchingConditionsDictOutput — recursive
        - string
    - `exclude_conditions` union[]
      - union
        - MatchingConditionsDictOutput
          - `and` union[]
            - union
              - …
          - `or` union[]
            - union
              - …
          - `not` MatchingConditionsDictOutput — recursive
        - string

## Other responses

- `403` — Forbidden
- `404` — Not found
- `409` — Conflict
- `422` — Unprocessable entity

---

[API](https://skmtc.net/mergify/apis/mergify-api.md) · [All operations](https://skmtc.net/mergify/apis/mergify-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mergify/mergify-api/revisions/ae394a06c465/schema)
