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.
# 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 Agent Merge API
version: 1.0.0
extends: openapi/github-agent-merge-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-23'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/agents/repos/{owner}/{repo}/pulls/{pull_number}/agent-merge'].get
update:
x-apievangelist-phrasing:
intent: Get a pull request's Agent Merge config
effect: read
questions:
- Is Agent Merge enabled on a pull request?
- What actions is Copilot allowed to take on a PR?
instructions:
- text: Get the Agent Merge configuration for PR {pull_number} in {owner}/{repo}.
slots:
pull_number: path.pull_number
owner: path.owner
repo: path.repo
- text: Show which actions Agent Merge is allowed on PR {pull_number} of {owner}/{repo}.
slots:
pull_number: path.pull_number
owner: path.owner
repo: path.repo
method: generated
generated: '2026-11-23'
- target: $.paths['/agents/repos/{owner}/{repo}/pulls/{pull_number}/agent-merge'].put
update:
x-apievangelist-phrasing:
intent: Set Agent Merge allowed actions on a PR
effect: write
questions:
- How do I let Copilot commit changes on a pull request?
- Can I restrict which actions Agent Merge can take on a PR?
instructions:
- text: Set Agent Merge allowed actions on PR {pull_number} in {owner}/{repo} to {allowed_actions}.
slots:
pull_number: path.pull_number
owner: path.owner
repo: path.repo
allowed_actions: requestBody.allowed_actions
- text: Enable Agent Merge on PR {pull_number} of {owner}/{repo} with actions {allowed_actions}.
slots:
pull_number: path.pull_number
owner: path.owner
repo: path.repo
allowed_actions: requestBody.allowed_actions
method: generated
generated: '2026-11-23'
- target: $.paths['/agents/repos/{owner}/{repo}/pulls/{pull_number}/agent-merge'].delete
update:
x-apievangelist-phrasing:
intent: Disable Agent Merge on a pull request
effect: destructive
questions:
- How do I turn off Agent Merge on a pull request?
- Can I disable Agent Merge without checking eligibility?
instructions:
- text: Disable Agent Merge for PR {pull_number} in {owner}/{repo}.
slots:
pull_number: path.pull_number
owner: path.owner
repo: path.repo
- text: Turn off Agent Merge on PR {pull_number} of {owner}/{repo}.
slots:
pull_number: path.pull_number
owner: path.owner
repo: path.repo
method: generated
generated: '2026-11-23'
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.