GitHub · Capability
github-repos-api — Suites
github-repos-api — Suites. 6 operations. Lead operation: GitHub Create Check Suite. Self-contained Naftiko capability covering one Github business surface.
What You Can Do
POST
Createchecksuite
— GitHub Create Check Suite
/v1/repos/{owner}/{repo}/check-suites
PATCH
Updaterepositorypreferencesforchecksuites
— GitHub Update Repository Preferences for Check Suites
/v1/repos/{owner}/{repo}/check-suites/preferences
GET
Getchecksuite
— GitHub Get Check Suite
/v1/repos/{owner}/{repo}/check-suites/{check-suite-id}
GET
Listcheckrunsinchecksuite
— GitHub List Check Runs in Check Suite
/v1/repos/{owner}/{repo}/check-suites/{check-suite-id}/check-runs
POST
Rerequestchecksuite
— GitHub Rerequest Check Suite
/v1/repos/{owner}/{repo}/check-suites/{check-suite-id}/rerequest
GET
Listchecksuitesforgitreference
— GitHub List Check Suites for Git Reference
/v1/repos/{owner}/{repo}/commits/{ref}/check-suites
MCP Tools
github-create-check-suite
GitHub Create Check Suite
read-only
github-update-repository-preferences-check
GitHub Update Repository Preferences for Check Suites
idempotent
github-get-check-suite
GitHub Get Check Suite
read-only
idempotent
github-list-check-runs-check
GitHub List Check Runs in Check Suite
read-only
idempotent
github-rerequest-check-suite
GitHub Rerequest Check Suite
read-only
github-list-check-suites-git
GitHub List Check Suites for Git Reference
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: github-repos-api — Suites
description: 'github-repos-api — Suites. 6 operations. Lead operation: GitHub Create Check Suite. Self-contained Naftiko
capability covering one Github business surface.'
tags:
- Github
- Suites
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
GITHUB_API_KEY: GITHUB_API_KEY
capability:
consumes:
- type: http
namespace: repo-tags-suites
baseUri: ''
description: github-repos-api — Suites business capability. Self-contained, no shared references.
resources:
- name: repos-owner-repo-check-suites
path: /repos/{owner}/{repo}/check-suites
operations:
- name: createchecksuite
method: POST
description: GitHub Create Check Suite
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Authorization
in: header
type: string
- name: X-GitHub-Api-Version
in: header
type: string
- name: Accept
in: header
type: string
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: repos-owner-repo-check-suites-preferences
path: /repos/{owner}/{repo}/check-suites/preferences
operations:
- name: updaterepositorypreferencesforchecksuites
method: PATCH
description: GitHub Update Repository Preferences for Check Suites
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Authorization
in: header
type: string
- name: X-GitHub-Api-Version
in: header
type: string
- name: Accept
in: header
type: string
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: repos-owner-repo-check-suites-check_suite_id
path: /repos/{owner}/{repo}/check-suites/{check_suite_id}
operations:
- name: getchecksuite
method: GET
description: GitHub Get Check Suite
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Authorization
in: header
type: string
- name: X-GitHub-Api-Version
in: header
type: string
- name: Accept
in: header
type: string
- name: repos-owner-repo-check-suites-check_suite_id-check-runs
path: /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs
operations:
- name: listcheckrunsinchecksuite
method: GET
description: GitHub List Check Runs in Check Suite
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: filter
in: query
type: string
description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs.
- name: Authorization
in: header
type: string
- name: X-GitHub-Api-Version
in: header
type: string
- name: Accept
in: header
type: string
- name: repos-owner-repo-check-suites-check_suite_id-rerequest
path: /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest
operations:
- name: rerequestchecksuite
method: POST
description: GitHub Rerequest Check Suite
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Authorization
in: header
type: string
- name: X-GitHub-Api-Version
in: header
type: string
- name: Accept
in: header
type: string
- name: repos-owner-repo-commits-ref-check-suites
path: /repos/{owner}/{repo}/commits/{ref}/check-suites
operations:
- name: listchecksuitesforgitreference
method: GET
description: GitHub List Check Suites for Git Reference
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: app_id
in: query
type: integer
description: Filters check suites by GitHub App `id`.
- name: Authorization
in: header
type: string
- name: X-GitHub-Api-Version
in: header
type: string
- name: Accept
in: header
type: string
authentication:
type: bearer
token: '{{env.GITHUB_API_KEY}}'
exposes:
- type: rest
namespace: repo-tags-suites-rest
port: 8080
description: REST adapter for github-repos-api — Suites. One Spectral-compliant resource per consumed operation, prefixed
with /v1.
resources:
- path: /v1/repos/{owner}/{repo}/check-suites
name: repos-owner-repo-check-suites
description: REST surface for repos-owner-repo-check-suites.
operations:
- method: POST
name: createchecksuite
description: GitHub Create Check Suite
call: repo-tags-suites.createchecksuite
with:
Authorization: rest.Authorization
X-GitHub-Api-Version: rest.X-GitHub-Api-Version
Accept: rest.Accept
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/repos/{owner}/{repo}/check-suites/preferences
name: repos-owner-repo-check-suites-preferences
description: REST surface for repos-owner-repo-check-suites-preferences.
operations:
- method: PATCH
name: updaterepositorypreferencesforchecksuites
description: GitHub Update Repository Preferences for Check Suites
call: repo-tags-suites.updaterepositorypreferencesforchecksuites
with:
Authorization: rest.Authorization
X-GitHub-Api-Version: rest.X-GitHub-Api-Version
Accept: rest.Accept
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/repos/{owner}/{repo}/check-suites/{check-suite-id}
name: repos-owner-repo-check-suites-check-suite-id
description: REST surface for repos-owner-repo-check-suites-check_suite_id.
operations:
- method: GET
name: getchecksuite
description: GitHub Get Check Suite
call: repo-tags-suites.getchecksuite
with:
Authorization: rest.Authorization
X-GitHub-Api-Version: rest.X-GitHub-Api-Version
Accept: rest.Accept
outputParameters:
- type: object
mapping: $.
- path: /v1/repos/{owner}/{repo}/check-suites/{check-suite-id}/check-runs
name: repos-owner-repo-check-suites-check-suite-id-check-runs
description: REST surface for repos-owner-repo-check-suites-check_suite_id-check-runs.
operations:
- method: GET
name: listcheckrunsinchecksuite
description: GitHub List Check Runs in Check Suite
call: repo-tags-suites.listcheckrunsinchecksuite
with:
filter: rest.filter
Authorization: rest.Authorization
X-GitHub-Api-Version: rest.X-GitHub-Api-Version
Accept: rest.Accept
outputParameters:
- type: object
mapping: $.
- path: /v1/repos/{owner}/{repo}/check-suites/{check-suite-id}/rerequest
name: repos-owner-repo-check-suites-check-suite-id-rerequest
description: REST surface for repos-owner-repo-check-suites-check_suite_id-rerequest.
operations:
- method: POST
name: rerequestchecksuite
description: GitHub Rerequest Check Suite
call: repo-tags-suites.rerequestchecksuite
with:
Authorization: rest.Authorization
X-GitHub-Api-Version: rest.X-GitHub-Api-Version
Accept: rest.Accept
outputParameters:
- type: object
mapping: $.
- path: /v1/repos/{owner}/{repo}/commits/{ref}/check-suites
name: repos-owner-repo-commits-ref-check-suites
description: REST surface for repos-owner-repo-commits-ref-check-suites.
operations:
- method: GET
name: listchecksuitesforgitreference
description: GitHub List Check Suites for Git Reference
call: repo-tags-suites.listchecksuitesforgitreference
with:
app_id: rest.app_id
Authorization: rest.Authorization
X-GitHub-Api-Version: rest.X-GitHub-Api-Version
Accept: rest.Accept
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: repo-tags-suites-mcp
port: 9090
transport: http
description: MCP adapter for github-repos-api — Suites. One tool per consumed operation, routed inline through this capability's
consumes block.
tools:
- name: github-create-check-suite
description: GitHub Create Check Suite
hints:
readOnly: true
destructive: false
idempotent: false
call: repo-tags-suites.createchecksuite
with:
Authorization: tools.Authorization
X-GitHub-Api-Version: tools.X-GitHub-Api-Version
Accept: tools.Accept
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: github-update-repository-preferences-check
description: GitHub Update Repository Preferences for Check Suites
hints:
readOnly: false
destructive: false
idempotent: true
call: repo-tags-suites.updaterepositorypreferencesforchecksuites
with:
Authorization: tools.Authorization
X-GitHub-Api-Version: tools.X-GitHub-Api-Version
Accept: tools.Accept
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: github-get-check-suite
description: GitHub Get Check Suite
hints:
readOnly: true
destructive: false
idempotent: true
call: repo-tags-suites.getchecksuite
with:
Authorization: tools.Authorization
X-GitHub-Api-Version: tools.X-GitHub-Api-Version
Accept: tools.Accept
outputParameters:
- type: object
mapping: $.
- name: github-list-check-runs-check
description: GitHub List Check Runs in Check Suite
hints:
readOnly: true
destructive: false
idempotent: true
call: repo-tags-suites.listcheckrunsinchecksuite
with:
filter: tools.filter
Authorization: tools.Authorization
X-GitHub-Api-Version: tools.X-GitHub-Api-Version
Accept: tools.Accept
outputParameters:
- type: object
mapping: $.
- name: github-rerequest-check-suite
description: GitHub Rerequest Check Suite
hints:
readOnly: true
destructive: false
idempotent: false
call: repo-tags-suites.rerequestchecksuite
with:
Authorization: tools.Authorization
X-GitHub-Api-Version: tools.X-GitHub-Api-Version
Accept: tools.Accept
outputParameters:
- type: object
mapping: $.
- name: github-list-check-suites-git
description: GitHub List Check Suites for Git Reference
hints:
readOnly: true
destructive: false
idempotent: true
call: repo-tags-suites.listchecksuitesforgitreference
with:
app_id: tools.app_id
Authorization: tools.Authorization
X-GitHub-Api-Version: tools.X-GitHub-Api-Version
Accept: tools.Accept
outputParameters:
- type: object
mapping: $.