GitHub CLI

GitHub CLI (gh) is GitHub's official, free and open source (MIT) command-line tool that brings pull requests, issues, Actions runs and workflows, releases, codespaces, gists, projects, Copilot and raw REST/GraphQL calls (gh api) to the terminal. It ships for macOS, Windows and Linux via Homebrew, WinGet, apt, dnf, zypper and release binaries, and is extensible with gh extensions.

GitHub CLI is listed with 1 API on the APIs.io network. Tagged areas include Command Line Interface, Platform CLI, Developer Tools, Version Control, and Open Source.

The GitHub CLI catalog on APIs.io includes 1 Spectral governance ruleset.

GitHub CLI’s developer surface includes CLI, pricing, documentation, changelog, API reference, getting-started guide, support, and 32 more developer resources.

Pull GitHub CLI's APIs, OpenAPI, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
41.3/100 developing ▬ flat Agent 15/100 agent aware Front door AI 4/6 moderate Heartbeat 100/100 alive Full breakdown ↓
scored 2026-11-28 · rubric v0.30.0 · Show this score on your site →
GitHub CLI website screenshot
AccessFree
1 API
Command Line InterfacePlatform CLIDeveloper ToolsVersion ControlOpen SourceGitHub

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-11-28 · rubric v0.30.0
Regulatory Posture applies to this provider. Its tags matched the Horizontal (data, software, accessibility, platform) regime, so Regulatory Posture carries 15 points of the composite. If this regime is wrong for your business, say so on your provider repo — the applicability map is public and we will correct it.
Create-or-Update Ergonomics could not be measured. We hold no machine-readable contract for this provider to read, so there is nothing to measure a write surface against. Excluded rather than scored zero: never-measured and measured-empty are different facts. Publishing an OpenAPI is what makes this facet — and several others — scorable at all.
The six quality facets above are damped to 85 points between them, because the conditional facet above carries the other 15. That is why each facet's contribution is shown against a damped maximum: raising a quality facet moves the composite by 85% of its nominal weight, not 100%. The full arithmetic is at apis.io/rating/.
Show this score on your site. Kin Score badge preview for GitHub CLI It updates itself when the score changes. Paste this where you link to your API docs:
<a href="https://apis.io/providers/github-cli/"><img src="https://apis.io/badge/github-cli/card.svg" alt="GitHub CLI on APIs.io — Kin Score by API Evangelist"></a>
Other styles, a README pill and a shields.io endpoint are on the badge page.
Raise your score.
Agent readiness — checks not met, largest first (exact, from this profile):
  • MCP Server +12 pts — deployment.mode + probe verdict on the mcp/ manifest, not the pointer; an unprobed slug falls back to authorship Ask about this →
  • Agentic Access Contract +10 pts — agentic_access artifact present (x-agentic-access), graded by author Ask about this →
  • Machine-Readable Auth +10 pts — a served openid-configuration/oauth-authorization-server carrying `issuer` (served), else the securitySchemes class in the provider OpenAPIs — bound (mutualTLS, DPoP, Signature) > negotiable (oauth2 authorizationCode/clientCredentials, openIdConnect) > bearer (http bearer, apiKey) Ask about this →
  • Idempotency +9 pts — OpenAPI mutating operations declare an idempotency key — a header, a request-body property, or a named de-duplication token whose own description says so (verified); else common[].type matches /idempoten/i (documented) Ask about this →
  • Stable Error Semantics +8 pts — OpenAPI $refs a shared error schema across 4xx/5xx responses (verified), else common[].type includes ErrorCatalog / ErrorCodes / DeclineCodes Ask about this →
  • A2A Agent Card +8 pts — a2a/-a2a.yml manifest, graded on conformance.grade against A2A 1.0.0 Ask about this →
12 more unmet checks in the Agent Readiness table above.
Kin Score — facets with the most composite points still available (weight × headroom):
Each check links to what satisfies it. Publish the artifact, or tell us where it already lives, and the score moves on the next scoring run.
Not sure how this applies to your stack? Ask about any one item. Kin Lane reads every question, looks at your profile and your situation, and replies with what a fix would take — scoped to that one area, priced up front, yours whether you ship it or not. Ask a question →
Ask about:
Github Cli · a person reads this and replies by email.
or email info@apis.io
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from the provider profile at artifacts.apis.io/github-cli/apis.yml: open an issue on github.com/api-evangelist/github-cli to ask a question or point us at an artifact you publish. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

APIs 1

Individual APIs this provider publishes, each with its own machine-readable definition.

GitHub CLI

GitHub CLI (gh) is GitHub's official, free and open source (MIT) command-line tool that brings pull requests, issues, Actions runs and workflows, releases, codespaces, gists, pr...

GitHub CLI API pricing

Prices published by GitHub CLI. A free plan or tier is listed.

PlanPrice
Free and open source Free and open source.

Plan details, limits and sources →

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

GitHub CLI Rate Limits

0 limits

RATE LIMITS

Terms of Service 1

What its API terms permit and prohibit, quoted from its own page.

GitHub CLI

12 quoted statements, read from GitHub CLI's own page on 2026-11-09.

TERMS

Eligibility 1

Who may sign up and where, quoted from its own terms.

GitHub CLI

4 quoted statements, read from GitHub CLI's own page on 2026-11-09.

ELIGIBILITY

AI Preferences 1

Its stance on AI training, inference and agents, quoted from its own pages.

GitHub CLI

5 quoted statements, read from GitHub CLI's own page on 2026-11-09.

AI PREFS

Data License 1

How its data and outputs may be reused, quoted from its own terms.

GitHub CLI

2 quoted statements, read from GitHub CLI's own page on 2026-11-09.

LICENSE

FinOps 1

Cost, billing, and metering signals for API financial operations.

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs. Counts are the severity each rule declares, not results of running them.

GitHub CLI API Rules

0 rules ·

SPECTRAL

Security Posture 2

Authentication, domain security, vulnerability disclosure, and trust-center signals.

GitHub CLI Domain Security

TLSv1.3 · HSTS

SECURITY

Resources

Get Started 1

Portal, sign-up, and the first successful call

Documentation 4

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Design & Contract 3

Pagination, idempotency, versioning, errors, and events

Build 5

SDKs, sample code, and the tooling you integrate with

Access & Security 5

Authentication, authorization, and security posture

Operate 6

Status, limits, changes, and where to get help

Commercial 7

Pricing, plans, and the legal terms of use

Scroll for all 7

Company 2

The organization behind the API

Other 5

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: github-cli
name: GitHub CLI
description: GitHub CLI (gh) is GitHub's official, free and open source (MIT) command-line tool that brings pull requests,
  issues, Actions runs and workflows, releases, codespaces, gists, projects, Copilot and raw REST/GraphQL calls (gh api) to
  the terminal. It ships for macOS, Windows and Linux via Homebrew, WinGet, apt, dnf, zypper and release binaries, and is
  extensible with gh extensions.
type: Index
deliveryModel:
  model: unknown
  license_evidence:
    not_product:
    - cli/cli
  open_source: unknown
  commercial: false
  callable_host: false
  label: Delivery model not determined — needs a product licence on record
  confidence: low
  source:
  - repository-not-product
  generated: '2026-09-25'
  method: derived
accessModel:
  pricing: free
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Free
  confidence: low
  probe_state: covered
  source:
  - plans
  - security
  generated: '2026-11-28'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/github-cli.png
tags:
- Command Line Interface
- Platform CLI
- Developer Tools
- Version Control
- Open Source
- GitHub
tags_raw:
- Command Line Interface
- Platform CLI
- Developer Tools
- Git
- Open Source
- GitHub
url: https://cli.github.com
created: '2026-03-25'
modified: '2026-11-04'
specificationVersion: '0.23'
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com
common:
- type: SecurityTxt
  url: well-known/github-cli-security.txt
- type: DomainSecurity
  url: security/github-cli-domain-security.yml
- type: Spectral
  url: rules/github-cli-rules.yml
- type: CLI
  url: cli/github-cli-cli.yml
- type: Conventions
  url: conventions/github-cli-conventions.yml
- type: VulnerabilityDisclosure
  url: security/github-cli-vulnerability-disclosure.yml
- type: Lifecycle
  url: lifecycle/github-cli-lifecycle.yml
- type: Protobuf
  url: grpc/github-cli-ssh_server_host_service.v1.proto
- type: Protobuf
  url: grpc/github-cli-codespace_host_service.v1.proto
- type: SecurityTxt
  url: well-known/github-cli-www-security.txt
- type: WellKnown
  url: well-known/github-cli-well-known.yml
- type: Hosts
  url: hosts/github-cli-hosts.yml
- type: Vendors
  url: vendors/github-cli-vendors.yml
- type: SDKs
  url: packages/github-cli-packages.yml
- type: Packages
  url: packages/github-cli-packages.yml
- type: StatusPage
  url: https://www.githubstatus.com/
- type: Roadmap
  url: https://github.com/github/roadmap
- type: Pricing
  url: https://github.com/pricing
- type: Plans
  url: plans/github-cli-plans-pricing.yml
- type: FinOps
  url: finops/github-cli-finops.yml
- type: IssueTracker
  url: https://github.com/cli/cli/issues
- type: Releases
  url: https://github.com/cli/cli/releases
- type: SecurityPolicy
  url: https://github.com/cli/cli/blob/trunk/.github/SECURITY.md
- type: CodeOfConduct
  url: https://github.com/cli/cli/blob/trunk/.github/CODE-OF-CONDUCT.md
- type: ContributionGuide
  url: https://github.com/cli/cli/blob/trunk/.github/CONTRIBUTING.md
- type: Website
  url: https://www.githubstatus.com/
- type: Documentation
  url: https://cli.github.com/manual/
- type: GitHubOrganization
  url: https://github.com/cli/cli
- type: ChangeLog
  url: https://github.com/cli/cli/releases
- type: APIReference
  url: https://cli.github.com/manual/gh_api
- type: GettingStarted
  url: https://cli.github.com/manual/
- type: Support
  url: https://github.com/cli/cli/issues
- type: TermsOfService
  url: https://docs.github.com/en/site-policy/github-terms/github-terms-of-service
- type: PrivacyPolicy
  url: https://docs.github.com/en/site-policy/privacy-policies/github-general-privacy-statement
- type: Blog
  url: https://github.blog/
- type: UsageTerms
  url: terms/github-cli-terms-of-service.yml
- type: Eligibility
  url: eligibility/github-cli-eligibility.yml
- type: AIPreferences
  url: ai-preferences/github-cli-ai-preferences.yml
- type: DataLicense
  url: data-license/github-cli-data-license.yml
apis:
- aid: github-cli:github-cli
  name: GitHub CLI
  description: GitHub CLI (gh) is GitHub's official, free and open source (MIT) command-line tool that brings pull requests,
    issues, Actions runs and workflows, releases, codespaces, gists, projects, Copilot and raw REST/GraphQL calls (gh api)
    to the terminal. It ships for macOS, Windows and Linux via Homebrew, WinGet, apt, dnf, zypper and release binaries, and
    is extensible with gh extensions.
  humanURL: https://cli.github.com
  tags:
  - Command Line Interface
  - Platform CLI
  properties:
  - type: Documentation
    url: https://cli.github.com/manual/
  - type: GitHubRepository
    url: https://github.com/cli/cli
  - type: Rules
    url: https://raw.githubusercontent.com/api-evangelist/github-cli/refs/heads/main/rules/github-cli-rules.yml
  - type: Source Code
    url: https://github.com/cli/cli
  - type: License
    url: https://github.com/cli/cli/blob/trunk/LICENSE
  baseURL: https://api.github.com
x-parent: github
x-relationship: product
x-coverage:
  state: covered
  reason: parent-contract
  detail: gh is a CLI over GitHub's own REST/GraphQL API (x-parent github), whose contract lives with the github provider;
    this pass corrected the Website to cli.github.com and the StatusPage pointer to www.githubstatus.com.
  evidence:
  - url: https://cli.github.com
    status: 200
  - url: https://www.githubstatus.com/
    status: 200
  checked: '2026-11-12'
x-enrichment:
  date: '2026-11-12'
  status: enriched
  artifacts_added: 0
  pass: local-v6

GitHub CLI API — frequently asked questions

Does GitHub CLI have an API?

Yes. APIs.io lists 1 API from GitHub CLI, including GitHub CLI.

How much does the GitHub CLI API cost?

GitHub CLI publishes its prices; its Free and open source plan is Free and open source. as of 2026-11-04. APIs.io lists 1 pricing plan for GitHub CLI, with each plan's price, limits and inclusions under Pricing on this page.

Is the GitHub CLI API ready for AI agents?

GitHub CLI has a Kin Score of 41.3 out of 100 (developing) and an Agent Readiness score of 15.1 (agent-aware), scored by API Evangelist on 2026-11-28.

Work with this as data

Every provider 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 providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • 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 provider
curl "https://apis.io/api/v1/providers/github-cli"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/github-cli/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/github-cli/evidence"

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.