v68

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,21696712.3 MB
interactions

Get pull request creation cap for a repository

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.

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

Path parameters

ownerstring required

The account owner of the repository. The name is not case sensitive.

repostring required

The name of the repository without the .git extension. The name is not case sensitive.

Response

Response

enabledboolean required

Whether the pull request creation cap is enabled

max_open_pull_requestsinteger required

The maximum number of open pull requests a user can have at one time