GitHub · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for GitHub v3 REST Secret Scanning API

7 actions 7 updates phrasing extends openapi/github-secret-scanning-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for GitHub's API. It is a proposal applied on top of the contract, not a document GitHub publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/enterprises/{enterprise}/secret-scanning/alerts'].get
$.paths['/orgs/{org}/secret-scanning/alerts'].get
$.paths['/repos/{owner}/{repo}/secret-scanning/alerts'].get
$.paths['/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}'].get
$.paths['/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}'].patch
$.paths['/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for GitHub v3 REST Secret Scanning API
  version: 1.0.0
extends: openapi/github-secret-scanning-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-24'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/enterprises/{enterprise}/secret-scanning/alerts'].get
  update:
    x-apievangelist-phrasing:
      intent: List leaked-secret alerts across an enterprise
      effect: read
      questions:
      - Where have secrets been leaked across all the organizations in our enterprise?
      - Can I filter enterprise-wide secret scanning alerts by secret type?
      instructions:
      - text: List secret scanning alerts across enterprise {enterprise}.
        slots:
          enterprise: path.enterprise
      - text: Show {state} secret scanning alerts of type {secret_type} in enterprise {enterprise}.
        slots:
          enterprise: path.enterprise
          state: query.state
          secret_type: query.secret_type
      method: generated
      generated: '2026-09-24'
- target: $.paths['/orgs/{org}/secret-scanning/alerts'].get
  update:
    x-apievangelist-phrasing:
      intent: List leaked-secret alerts across an organization
      effect: read
      questions:
      - Which repositories in our organization have exposed credentials that are still open?
      - Can I see org secret alerts that were resolved as false positives?
      instructions:
      - text: List secret scanning alerts for all repositories in {org}.
        slots:
          org: path.org
      - text: Show secret alerts in organization {org} resolved as {resolution}.
        slots:
          org: path.org
          resolution: query.resolution
      method: generated
      generated: '2026-09-24'
- target: $.paths['/repos/{owner}/{repo}/secret-scanning/alerts'].get
  update:
    x-apievangelist-phrasing:
      intent: List leaked-secret alerts in a repository
      effect: read
      questions:
      - Has anyone committed an API key or token to this repository?
      - What's the way to list only open secret scanning alerts in one repo, newest first?
      instructions:
      - text: List secret scanning alerts for {owner}/{repo}.
        slots:
          owner: path.owner
          repo: path.repo
      - text: Show {state} secret alerts of type {secret_type} in {owner}/{repo}.
        slots:
          owner: path.owner
          repo: path.repo
          state: query.state
          secret_type: query.secret_type
      method: generated
      generated: '2026-09-24'
- target: $.paths['/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one secret scanning alert
      effect: read
      questions:
      - What kind of secret triggered a specific alert, and has it been resolved?
      - Can I pull up a single leaked-secret alert by its number?
      instructions:
      - text: Show secret scanning alert {alert_number} in {owner}/{repo}.
        slots:
          owner: path.owner
          repo: path.repo
          alert_number: path.alert_number
      - text: 'Get the secret type and resolution of alert #{alert_number} in {owner}/{repo}.'
        slots:
          owner: path.owner
          repo: path.repo
          alert_number: path.alert_number
      method: generated
      generated: '2026-09-24'
- target: $.paths['/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Resolve or reopen a secret scanning alert
      effect: write
      questions:
      - How do I close a secret scanning alert after I've rotated the leaked credential?
      - Can I mark a leaked-secret alert as used only in tests, with a comment?
      instructions:
      - text: Resolve secret alert {alert_number} in {owner}/{repo} as {resolution}.
        slots:
          owner: path.owner
          repo: path.repo
          alert_number: path.alert_number
          resolution: requestBody.resolution
      - text: Set secret scanning alert {alert_number} in {owner}/{repo} to {state} with comment {resolution_comment}.
        slots:
          owner: path.owner
          repo: path.repo
          alert_number: path.alert_number
          state: requestBody.state
          resolution_comment: requestBody.resolution_comment
      method: generated
      generated: '2026-09-24'
- target: $.paths['/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations'].get
  update:
    x-apievangelist-phrasing:
      intent: List where a leaked secret was found
      effect: read
      questions:
      - In which files and commits was a leaked secret found?
      - Where exactly does the secret behind an alert appear in the repository history?
      instructions:
      - text: List the locations of secret alert {alert_number} in {owner}/{repo}.
        slots:
          owner: path.owner
          repo: path.repo
          alert_number: path.alert_number
      - text: Show the files and commits containing the secret for alert {alert_number} in {owner}/{repo}.
        slots:
          owner: path.owner
          repo: path.repo
          alert_number: path.alert_number
      method: generated
      generated: '2026-09-24'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/github-secret-scanning-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.