How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GitHub Custom API

The Custom API from GitHub — 7 operation(s) for custom.

GitHub Custom API is one of 350 APIs that GitHub publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Custom. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, and an API reference.

This API exposes 14 operations across 7 paths, and defines 9 schemas. It is described by OpenAPI 3.2.0, at version 1.1.4.

Requests are made against 2 base URLs: {protocol}://{hostname}/api/v3, {protocol}://{hostname}.

14 operations 7 paths 9 schemas 5 DELETE3 GET1 PATCH3 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.1.4
Base URL
https://api.github.com
Authentication
HTTP Bearer
License
Terms of Service
Resource Areas
1

Authentication & Security 1

GitHub Custom API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerHttpAuthentication).

  • bearerHttpAuthentication — Bearer Token

Paths & Operations 14

Across 7 paths, the API surfaces 14 operations — 5 DELETE, 3 GET, 1 PATCH, 3 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Custom 14
GET
/organizations/{organization_id}/custom_rolesdeprecated
GitHub Deprecated - List Custom Repository Roles in an Organization
deprecatedListCustomRepositoryRolesInAnOrganization 1 param → 200
POST
/orgs/{org}/actions/runners/{runner_id}/labels
GitHub Add Custom Labels to Self-hosted Runner for an Organization
addCustomLabelsToSelfhostedRunnerForAnOrganization 2 params body → 200404422
PUT
/orgs/{org}/actions/runners/{runner_id}/labels
GitHub Set Custom Labels for Self-hosted Runner for an Organization
setCustomLabelsForSelfhostedRunnerForAnOrganization 2 params body → 200404422
DELETE
/orgs/{org}/actions/runners/{runner_id}/labels
GitHub Remove All Custom Labels from Self-hosted Runner for an Organization
removeAllCustomLabelsFromSelfhostedRunnerForAnOrganization 2 params → 200404
DELETE
/orgs/{org}/actions/runners/{runner_id}/labels/{name}
GitHub Remove Custom Label from Self-hosted Runner for an Organization
removeCustomLabelFromSelfhostedRunnerForAnOrganization 3 params → 200404422
GET
/orgs/{org}/custom-repository-roles
GitHub List Custom Repository Roles in an Organization
listCustomRepositoryRolesInAnOrganization 1 param → 200
POST
/orgs/{org}/custom-repository-roles
GitHub Create Custom Repository Role
createCustomRepositoryRole 1 param body → 201404422
GET
/orgs/{org}/custom-repository-roles/{role_id}
GitHub Get Custom Repository Role
getCustomRepositoryRole 2 params → 200404
PATCH
/orgs/{org}/custom-repository-roles/{role_id}
GitHub Update Custom Repository Role
updateCustomRepositoryRole 2 params body → 200404422
DELETE
/orgs/{org}/custom-repository-roles/{role_id}
GitHub Delete Custom Repository Role
deleteCustomRepositoryRole 2 params → 204
POST
/repos/{owner}/{repo}/actions/runners/{runner_id}/labels
GitHub Add Custom Labels to Self-hosted Runner for Repository
addCustomLabelsToSelfhostedRunnerForRepository 6 params body → 200404422
PUT
/repos/{owner}/{repo}/actions/runners/{runner_id}/labels
GitHub Set Custom Labels for Self-hosted Runner for Repository
setCustomLabelsForSelfhostedRunnerForRepository 6 params body → 200404422
DELETE
/repos/{owner}/{repo}/actions/runners/{runner_id}/labels
GitHub Remove All Custom Labels from Self-hosted Runner for Repository
removeAllCustomLabelsFromSelfhostedRunnerForRepository 6 params → 200404
DELETE
/repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}
GitHub Remove Custom Label from Self-hosted Runner for Repository
removeCustomLabelFromSelfhostedRunnerForRepository 7 params → 200404422

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are simple-user (21 properties), organization-custom-repository-role (8 properties), organization-custom-repository-role-update-schema (4 properties), organization-custom-repository-role-create-schema (4 properties). Each schema is shown below with its type and property counts.

validation-error-simple
object
Validation Error Simple
3 properties 2 required
organization-custom-repository-role-update-schema
object
4 properties
simple-user
object
A GitHub user.
21 properties 18 required
validation-error
object
Validation Error
3 properties 2 required
basic-error
object
Basic Error
4 properties
organization-custom-repository-role-create-schema
object
4 properties 3 required
runner-label
object
A label for a self hosted runner
3 properties 1 required
organization-custom-repository-role
object
Custom repository roles created by organization owners
8 properties 7 required
runner-label_2
object
label for a self hosted runner
3 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

github-custom-api-openapi.yml Raw ↑

Other APIs GitHub publishes across the network.

GitHub Events API
GitHub Feeds API
GitHub Gists API
GitHub Issues API
GitHub Licenses API
GitHub Markdown API
GitHub Meta API
GitHub Notifications API
GitHub Octocat API
GitHub Projects API
GitHub Repos API
GitHub Search API
Where this information came from

This is an independent, third-party profile of GitHub Custom API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.