---
title: "Get pull request creation cap for a repository"
method: GET
path: "/repos/{owner}/{repo}/interaction-limits/pulls/creation-cap"
tags: ["interactions"]
---

# Get pull request creation cap for a repository

`GET /repos/{owner}/{repo}/interaction-limits/pulls/creation-cap`

Gets the pull request creation cap configuration for a repository.
The cap limits the number of open pull requests a user can have at one time.

Only users with admin access to the repository can view the cap configuration.

## Path parameters

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

## Response `200`

Response

- object
  - `enabled` boolean, required — Whether the pull request creation cap is enabled
  - `max_open_pull_requests` integer, required — The maximum number of open pull requests a user can have at one time

## Other responses

- `403` — Forbidden
- `404` — Resource not found
- `405` — Method Not Allowed

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-2.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-2/versions/8ae6d0c8716e/schema)
