GitHub · Capability
GitHub Repos API — Suites
GitHub Repos API — Suites. 6 operations. Lead operation: Create Check Suite. Self-contained Naftiko capability covering one Github business surface.
What You Can Do
POST
Createchecksuite
— Create Check Suite
/v1/repos/{owner}/{repo}/check-suites
PATCH
Updaterepositorypreferencesforchecksuites
— Update Repository Preferences For Check Suites
/v1/repos/{owner}/{repo}/check-suites/preferences
GET
Getchecksuite
— Get Check Suite
/v1/repos/{owner}/{repo}/check-suites/{check-suite-id}
GET
Listcheckrunsinchecksuite
— List Check Runs In Check Suite
/v1/repos/{owner}/{repo}/check-suites/{check-suite-id}/check-runs
POST
Rerequestchecksuite
— Rerequest Check Suite
/v1/repos/{owner}/{repo}/check-suites/{check-suite-id}/rerequest
GET
Listchecksuitesforgitreference
— List Check Suites For Git Reference
/v1/repos/{owner}/{repo}/commits/{ref}/check-suites
MCP Tools
create-check-suite
Create Check Suite
read-only
update-repository-preferences-check-suites
Update Repository Preferences For Check Suites
idempotent
get-check-suite
Get Check Suite
read-only
idempotent
list-check-runs-check-suite
List Check Runs In Check Suite
read-only
idempotent
rerequest-check-suite
Rerequest Check Suite
read-only
list-check-suites-git-reference
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: 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: temp-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: 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: 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: 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: 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: 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: 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: temp-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: Create Check Suite
call: temp-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: Update Repository Preferences For Check Suites
call: temp-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: Get Check Suite
call: temp-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: List Check Runs In Check Suite
call: temp-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: Rerequest Check Suite
call: temp-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: List Check Suites For Git Reference
call: temp-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: temp-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: create-check-suite
description: Create Check Suite
hints:
readOnly: true
destructive: false
idempotent: false
call: temp-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: update-repository-preferences-check-suites
description: Update Repository Preferences For Check Suites
hints:
readOnly: false
destructive: false
idempotent: true
call: temp-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: get-check-suite
description: Get Check Suite
hints:
readOnly: true
destructive: false
idempotent: true
call: temp-suites.getchecksuite
with:
Authorization: tools.Authorization
X-GitHub-Api-Version: tools.X-GitHub-Api-Version
Accept: tools.Accept
outputParameters:
- type: object
mapping: $.
- name: list-check-runs-check-suite
description: List Check Runs In Check Suite
hints:
readOnly: true
destructive: false
idempotent: true
call: temp-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: rerequest-check-suite
description: Rerequest Check Suite
hints:
readOnly: true
destructive: false
idempotent: false
call: temp-suites.rerequestchecksuite
with:
Authorization: tools.Authorization
X-GitHub-Api-Version: tools.X-GitHub-Api-Version
Accept: tools.Accept
outputParameters:
- type: object
mapping: $.
- name: list-check-suites-git-reference
description: List Check Suites For Git Reference
hints:
readOnly: true
destructive: false
idempotent: true
call: temp-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: $.