GitLab · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for GitLab REST GitLab Duo API

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

What the actions change

x-apievangelist-phrasing

Targets 5

$.info
$.paths['/api/v4/duo_code_review/evaluations'].post
$.paths['/api/v4/chat/completions'].post
$.paths['/api/v4/ai/third_party_agents/direct_access'].post
$.paths['/api/v4/ai/llm/git_command'].post

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 GitLab REST GitLab Duo API
  version: 1.0.0
extends: openapi/gitlab-gitlab-duo-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: 4
- target: $.paths['/api/v4/duo_code_review/evaluations'].post
  update:
    x-apievangelist-phrasing:
      intent: Evaluate a merge request with GitLab Duo
      effect: write
      questions:
      - How do I get GitLab Duo to review my merge request diffs?
      - Can Duo explain code changes in a merge request I'm about to merge?
      instructions:
      - text: Evaluate merge request {mr_title} with diffs {diffs} and description {mr_description}.
        slots:
          mr_title: requestBody.mr_title
          diffs: requestBody.diffs
          mr_description: requestBody.mr_description
      - text: Ask Duo to review these code changes {diffs} for merge request {mr_title}.
        slots:
          diffs: requestBody.diffs
          mr_title: requestBody.mr_title
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/chat/completions'].post
  update:
    x-apievangelist-phrasing:
      intent: Ask GitLab Duo Chat a question
      effect: write
      questions:
      - Can GitLab Duo explain a commit or a file in my project?
      - Is there a way to ask Duo a question about a commit and get a chat answer?
      instructions:
      - text: 'Ask Duo Chat: {content}.'
        slots:
          content: requestBody.content
      - text: Ask Duo about {content} in project {project_id}.
        slots:
          content: requestBody.content
          project_id: requestBody.project_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/third_party_agents/direct_access'].post
  update:
    x-apievangelist-phrasing:
      intent: Get tokens for third-party agents
      effect: write
      questions:
      - How do I get connection tokens for third-party AI agents?
      - Where do I get the access details for external agents?
      instructions:
      - text: Get connection details for third-party agents.
      - text: Request tokens to access external AI agents.
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/llm/git_command'].post
  update:
    x-apievangelist-phrasing:
      intent: Generate Git commands from natural language
      effect: write
      questions:
      - Can I turn a plain-language request into Git commands?
      - What Git commands would I need to rebase a branch?
      instructions:
      - text: Generate Git commands for {prompt}.
        slots:
          prompt: requestBody.prompt
      - text: Turn the request {prompt} into Git commands.
        slots:
          prompt: requestBody.prompt
      method: generated
      generated: '2026-11-23'

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/gitlab-gitlab-duo-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. 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.