Troubleshooting the REST API - GitHub Docs
If you exceed a secondary rate limit, you will receive a 403 Forbidden or 429 Too Many Requests response and an error message that indicates that you exceeded a ...
If you exceed a secondary rate limit, you will receive a 403 Forbidden or 429 Too Many Requests response and an error message that indicates that you exceeded a ...
Mar 10, 2026 · GitHub REST API documentation Create integrations, retrieve data, and automate your workflows with the GitHub REST API.
... error/octocat_happy.gif", "gravatar_id": "", "url": "https://api.github.com ... Example 1: Status Code 200, Example 2: Status Code 200. get/repos/{owner ...
About addition of SSH keys to your account. You can access and write data in repositories on GitHub using SSH (Secure Shell Protocol). When you connect via SSH, you authenticate using a private key file on your local machine.
About primary rate limits GitHub limits the number of REST API requests that you can make within a specific amount of time. This limit helps prevent abuse and denial-of-service attacks, and ensures that the API remains available for all users. Some endpoints, like the search endpoints, have more restrictive limits. For more information about these endpoints, see REST API endpoints for rate ...
For an example of a request that uses headers, see Making a request. Accept. Most GitHub REST API endpoints specify that you should pass an Accept header with a ...
Finding example code. Reuse people's code. Local development.You can attach files to issues, pull requests, and comments in your browser. You can also attach local images and videos from the command line with GitHub CLI. For more information, see Attaching files with GitHub CLI.
Use the REST API to create, modify, and delete Base64 encoded content in a repository.
If specified, only code scanning alerts with this state will be returned. Can be one of: open , closed , dismissed , ...
# Python CodeQL queries for Code Quality Explore the queries that CodeQL uses to analyze code quality for code written in Python.
REST API endpoints for issues Use the REST API to view and manage issues, including issue assignees, comments, labels, and milestones.
The URL of the GitHub REST API. github.artifacts, string, Path on the runner to the file that identifies workflow artifacts for the current step. Write one ...
Importing your source code to GitHub makes it easier for you and others to work together on projects and manage code. GitHub helps you collaborate, track changes, and organize tasks, making it simpler to build and manage projects.
Introduction This article describes how to use the GitHub REST API with GitHub CLI, curl, or JavaScript. For a quickstart guide, see Quickstart for GitHub REST API.
Code samples for "Get a repository". Request example. get/repos/{owner}/{repo ... List any syntax errors that are detected in the CODEOWNERS file. For ...
To make an authenticated request to the API in a GitHub Actions workflow using GitHub CLI, you can store the value of GITHUB_TOKEN as an environment variable, and use the run keyword to execute the GitHub CLI api subcommand. For more information about the run keyword, see Workflow syntax for GitHub Actions.
Validation failed, or the endpoint has been spammed. 500. Internal Error. 503. Service unavailable. Code samples for ...