---
title: "Get status checks protection"
method: GET
path: "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"
tags: ["repos"]
---

# Get status checks protection

`GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks`

Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.

## Path parameters

- `owner` string, required
- `repo` string, required
- `branch` string, required

## Response `200`

Response

- StatusCheckPolicy — Status Check Policy
  - `url` string, uri, required
  - `strict` boolean, required
  - `contexts` string[], required
  - `checks` object[], required
    - `context` string, required
    - `app_id` integer, nullable, required
  - `contexts_url` string, uri, required

## Other responses

- `404` — Resource not found

---

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