GitHub Interactions API

Owner or admin management of users interactions.

GitHub OpenAPI

Operations 16

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

5 of 16 operations are conformant: apis.io called them with no credentials and the responses matched this contract. Checked 2026-11-12. how this works · status file

GET /orgs/{org}/interaction-limits Get an organization's interaction limits · Get interaction restrictions for an organization conformant #
Ask an LLM
“Who is allowed to interact with my organization's public repos right now?”
“When does the organization's interaction limit expire?”
Tell an agent
Show the interaction limits for organization {org}.
Check who can comment and open issues in {org}.
PUT /orgs/{org}/interaction-limits Set an organization's interaction limits · Set interaction restrictions for an organization #
Ask an LLM
“How do I stop external users from opening issues in my organization?”
“Can I set a time-limited interaction limit for an organization?”
Tell an agent
Set the interaction limit for organization {org} to {limit}.
Restrict {org} to {limit} for {expiry}.
DELETE /orgs/{org}/interaction-limits Remove an organization's interaction limits · Remove interaction restrictions for an organization #
Ask an LLM
“How do I lift the interaction limit on my organization's repos?”
“Can I remove the interaction restriction from an organization?”
Tell an agent destructive · confirm first
Remove the interaction limits from organization {org}.
Lift the interaction restriction on {org}.
GET /orgs/{org}/interaction-limits/pulls/creation-cap Get an organization's pull request cap · Get pull request creation cap for an org conformant #
Ask an LLM
“How many open pull requests can a user have across my organization?”
“Can I see the organization-wide pull request cap?”
Tell an agent
Show the pull request creation cap for organization {org}.
Check how many open PRs {org} allows per user.
PATCH /orgs/{org}/interaction-limits/pulls/creation-cap Update an organization's pull request cap · Update pull request creation cap for an org #
Ask an LLM
“How do I raise the open pull request limit for my organization?”
“Can I include draft PRs in the organization's pull request cap?”
Tell an agent
Set the pull request cap for {org} to {max_open_pull_requests} open PRs.
Update {org} to include drafts in its PR cap: {include_drafts}.
GET /repos/{owner}/{repo}/interaction-limits Get a repo's interaction restrictions · Get interaction restrictions for a repository conformant #
Ask an LLM
“Who is allowed to open issues in this repository?”
“When do the interaction restrictions expire?”
Tell an agent
Show the interaction restrictions on {owner}/{repo}.
Get who can interact with {owner}/{repo} and when.
PUT /repos/{owner}/{repo}/interaction-limits Restrict interactions on a repo · Set interaction restrictions for a repository #
Ask an LLM
“How do I limit who can open issues or pull requests in a repo?”
“Can I set a time limit on a repo's interaction restrictions?”
Tell an agent
Set {owner}/{repo} to allow only {limit} interactions until {expiry}.
Restrict {owner}/{repo} to {limit} until {expiry}.
DELETE /repos/{owner}/{repo}/interaction-limits Remove a repo's interaction restrictions · Remove interaction restrictions for a repository #
Ask an LLM
“How do I lift all interaction restrictions from a repository?”
“Can I stop limiting who opens issues in a repo?”
Tell an agent destructive · confirm first
Remove the interaction restrictions on {owner}/{repo}.
Lift all interaction limits from {owner}/{repo}.
GET /repos/{owner}/{repo}/interaction-limits/pulls/bypass-list List users bypassing a repo's PR cap · Get pull request creation cap bypass list for a repository conformant #
Ask an LLM
“Which users are allowed to create pull requests regardless of the repo's cap?”
“Who is on the pull request creation cap bypass list for this repository?”
Tell an agent
Show the pull request creation cap bypass list for {owner}/{repo}.
List users who can open PRs in {owner}/{repo} even with a cap.
PUT /repos/{owner}/{repo}/interaction-limits/pulls/bypass-list Add users to a repo's PR cap bypass list · Add users to the pull request creation cap bypass list for a repository #
Ask an LLM
“How do I let specific users create pull requests even when the repo cap is reached?”
“Can I add users to the pull request creation cap bypass list?”
Tell an agent
Add {users} to the pull request creation cap bypass list for {owner}/{repo}.
Let {users} open PRs in {owner}/{repo} regardless of its cap.
DELETE /repos/{owner}/{repo}/interaction-limits/pulls/bypass-list Remove users from a repo's PR cap bypass list · Remove users from the pull request creation cap bypass list for a repository #
Ask an LLM
“How do I take users off the pull request creation cap bypass list?”
“Can I remove users from a repo's PR cap bypass list?”
Tell an agent destructive · confirm first
Remove {users} from the pull request creation cap bypass list for {owner}/{repo}.
Take {users} off the PR cap bypass list of {owner}/{repo}.
GET /repos/{owner}/{repo}/interaction-limits/pulls/creation-cap Get a repo's pull request cap · Get pull request creation cap for a repository conformant #
Ask an LLM
“How many open pull requests can a user have at once in this repo?”
“Is the pull request creation cap enabled for a repository?”
Tell an agent
Get the pull request creation cap for {owner}/{repo}.
Show how many open PRs {owner}/{repo} allows.
PATCH /repos/{owner}/{repo}/interaction-limits/pulls/creation-cap Change a repo's pull request cap · Update pull request creation cap for a repository #
Ask an LLM
“How do I raise the maximum number of open pull requests in a repository?”
“Can draft pull requests count toward the pull request cap?”
Tell an agent
Set {owner}/{repo} to allow up to {max_open_pull_requests} open pull requests.
Update {owner}/{repo} so drafts count toward the pull request cap: {include_drafts}.
GET /user/interaction-limits Get my public repositories' interaction limits · Get interaction restrictions for your public repositories #
Ask an LLM
“Who is allowed to interact with my public repositories?”
“When does my personal interaction limit expire?”
Tell an agent
Show the interaction limits for my public repositories.
Check who can comment and open issues in my repos.
PUT /user/interaction-limits Set interaction limits for my public repositories · Set interaction restrictions for your public repositories #
Ask an LLM
“How do I stop external users from opening issues in my public repos?”
“Can I set a time-limited interaction limit for my own repositories?”
Tell an agent
Set my public repositories' interaction limit to {limit}.
Restrict my repos to {limit} for {expiry}.
DELETE /user/interaction-limits Remove interaction limits from my public repositories · Remove interaction restrictions from your public repositories #
Ask an LLM
“How do I lift the interaction limit on my public repositories?”
“Can I remove the interaction restriction from my own repos?”
Tell an agent destructive · confirm first
Remove the interaction limits from my public repositories.
Lift the interaction restriction on my repos.

Documentation

📖
Documentation
https://docs.github.com/en/rest/apps
📖
Documentation
https://docs.github.com/en/rest/codes-of-conduct/codes-of-conduct
📖
Documentation
https://docs.github.com/en/rest/emojis
📖
Documentation
https://docs.github.com/en/rest/gitignore
📖
Documentation
https://docs.github.com/en/rest/apps/installations
📖
Documentation
https://docs.github.com/en/rest/enterprise-admin
📖
Documentation
https://docs.github.com/en/rest/activity/events
📖
Documentation
https://docs.github.com/en/rest/orgs
📖
Documentation
https://docs.github.com/en/rest/rate-limit
📖
Documentation
https://docs.github.com/en/enterprise-cloud@latest/rest/scim
📖
Documentation
https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api
📖
Documentation
https://docs.github.com/en/rest/teams
📖
Documentation
https://docs.github.com/en/rest/meta/meta
📖
Documentation
https://docs.github.com/en/rest/actions
📖
Documentation
https://docs.github.com/en/rest/branches
📖
Documentation
https://docs.github.com/en/rest/code-scanning
📖
Documentation
https://docs.github.com/en/rest/collaborators
📖
Documentation
https://docs.github.com/en/rest/dependabot
📖
Documentation
https://docs.github.com/en/rest/webhooks
📖
Documentation
https://docs.github.com/en/rest/pulls
📖
Documentation
https://docs.github.com/en/rest/git/tags
📖
Documentation
https://docs.github.com/en/rest/repos/autolinks
📖
Documentation
https://docs.github.com/en/rest/collaborators/invitations
📖
Documentation
https://docs.github.com/en/rest/interactions

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/github:github-interactions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

github-interactions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.1.4
  title: GitHub v3 REST Interactions API
  description: GitHub's v3 REST API.
  license:
    name: MIT
    url: https://spdx.org/licenses/MIT
  termsOfService: https://docs.github.com/articles/github-terms-of-service
  contact:
    name: Support
    url: https://support.github.com/contact?tags=dotcom-rest-api
  x-github-plan: api.github.com
servers:
- url: https://api.github.com
tags:


# --- truncated at 32 KB (35 KB total) ---
# Full source: https://artifacts.apis.io/github/openapi/github-interactions-api-openapi.yml