GitLab · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for GitLab REST GitLab Duo workflows API

28 actions 28 updates phrasing extends openapi/gitlab-gitlab-duo-workflows-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 28 · first 16 shown; the file carries all of them

$.info
$.paths['/api/v4/ai/duo_workflows/workflows/{id}/audit_events'].post
$.paths['/api/v4/ai/duo_workflows/tools/risk_assessment/results'].post
$.paths['/api/v4/ai/duo_workflows/tools/risk_classification/results'].post
$.paths['/api/v4/ai/duo_workflows/code_review/add_comments'].post
$.paths['/api/v4/ai/duo_workflows/code_review/custom_instructions'].get
$.paths['/api/v4/ai/duo_workflows/agent_workflows'].post
$.paths['/api/v4/ai/duo_workflows/revoke_token'].post
$.paths['/api/v4/ai/duo_workflows/workflows/{id}'].get
$.paths['/api/v4/ai/duo_workflows/workflows/{id}'].patch
$.paths['/api/v4/ai/duo_workflows/workflows/{id}/checkpoints'].get
$.paths['/api/v4/ai/duo_workflows/workflows/{id}/checkpoints'].post
$.paths['/api/v4/ai/duo_workflows/workflows/{id}/checkpoints/by_thread_ts'].get
$.paths['/api/v4/ai/duo_workflows/workflows/{id}/checkpoints/{checkpoint_id}'].get
$.paths['/api/v4/ai/duo_workflows/workflows/{id}/checkpoint_writes_batch'].post
$.paths['/api/v4/ai/duo_workflows/workflows/{id}/events'].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 GitLab REST GitLab Duo workflows API
  version: 1.0.0
extends: openapi/gitlab-gitlab-duo-workflows-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: 27
- target: $.paths['/api/v4/ai/duo_workflows/workflows/{id}/audit_events'].post
  update:
    x-apievangelist-phrasing:
      intent: Ingest AI audit events from Duo Workflows
      effect: write
      questions:
      - How does the Duo Workflows service send audit events back to GitLab?
      - Can I push CloudEvents v1.0 envelopes into a Duo workflow?
      instructions:
      - text: Ingest these Duo Workflows audit events {events} for workflow {id}.
        slots:
          events: requestBody.events
          id: path.id
      - text: Send the CloudEvents v1.0 audit envelopes {events} to workflow {id}.
        slots:
          events: requestBody.events
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/tools/risk_assessment/results'].post
  update:
    x-apievangelist-phrasing:
      intent: Submit a risk assessment for a merge request
      effect: write
      questions:
      - How do I report the risk assessment claims a tool made on a merge request?
      - Can I include a plain-language summary with a risk assessment?
      instructions:
      - text: Submit risk assessment claims {claims} for merge request {merge_request_iid} in project {project_id} from workflow {workflow_id}.
        slots:
          claims: requestBody.claims
          merge_request_iid: requestBody.merge_request_iid
          project_id: requestBody.project_id
          workflow_id: requestBody.workflow_id
      - text: Record risk assessment {claims} on merge request {merge_request_iid} in project {project_id}, diff {diff_sha}, workflow {workflow_id}, summary {summary}.
        slots:
          claims: requestBody.claims
          merge_request_iid: requestBody.merge_request_iid
          project_id: requestBody.project_id
          diff_sha: requestBody.diff_sha
          workflow_id: requestBody.workflow_id
          summary: requestBody.summary
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/tools/risk_classification/results'].post
  update:
    x-apievangelist-phrasing:
      intent: Submit a risk classification for a merge request
      effect: write
      questions:
      - How do I report a risk classification a tool made on a merge request?
      - Can I attach a plain-language summary to a risk classification?
      instructions:
      - text: Submit risk classification claims {claims} for merge request {merge_request_iid} in project {project_id} from workflow {workflow_id}.
        slots:
          claims: requestBody.claims
          merge_request_iid: requestBody.merge_request_iid
          project_id: requestBody.project_id
          workflow_id: requestBody.workflow_id
      - text: Record risk classification {claims} on merge request {merge_request_iid} in project {project_id}, diff {diff_sha}, workflow {workflow_id}, summary {summary}.
        slots:
          claims: requestBody.claims
          merge_request_iid: requestBody.merge_request_iid
          project_id: requestBody.project_id
          diff_sha: requestBody.diff_sha
          workflow_id: requestBody.workflow_id
          summary: requestBody.summary
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/code_review/add_comments'].post
  update:
    x-apievangelist-phrasing:
      intent: Add AI review comments to a merge request
      effect: write
      questions:
      - How do I post review comments generated by Duo Workflows to a merge request?
      - Can I attach the LLM review output to a merge request?
      instructions:
      - text: Add review comments {review_output} to merge request {merge_request_iid} in project {project_id}.
        slots:
          review_output: requestBody.review_output
          merge_request_iid: requestBody.merge_request_iid
          project_id: requestBody.project_id
      - text: Post the LLM review output {review_output} on merge request {merge_request_iid} in project {project_id}.
        slots:
          review_output: requestBody.review_output
          merge_request_iid: requestBody.merge_request_iid
          project_id: requestBody.project_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/code_review/custom_instructions'].get
  update:
    x-apievangelist-phrasing:
      intent: Get custom instructions for a merge request
      effect: read
      questions:
      - What custom instructions has Duo Workflows set for a merge request?
      - Can I fetch the code review custom instructions for a merge request?
      instructions:
      - text: Get the custom instructions for merge request {merge_request_iid} in project {project_id}.
        slots:
          merge_request_iid: query.merge_request_iid
          project_id: query.project_id
      - text: Show the Duo Workflows code review instructions for merge request {merge_request_iid} in project {project_id}.
        slots:
          merge_request_iid: query.merge_request_iid
          project_id: query.project_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/agent_workflows'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a workflow persistence (agent-initiated)
      effect: write
      questions:
      - How does an agent-initiated workflow create persistence in a project?
      - Can I start a workflow in a CI pipeline from an agent-initiated request?
      instructions:
      - text: Create agent-initiated workflow persistence in project {project_id}.
        slots:
          project_id: requestBody.project_id
      - text: Start agent-initiated workflow {goal} in project {project_id} on branch {source_branch}.
        slots:
          goal: requestBody.goal
          project_id: requestBody.project_id
          source_branch: requestBody.source_branch
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/revoke_token'].post
  update:
    x-apievangelist-phrasing:
      intent: Revoke a Duo Workflows token
      effect: destructive
      questions:
      - How do I revoke an active Duo Workflows authentication token?
      - Can I invalidate a Duo Workflows access token?
      instructions:
      - text: Revoke Duo Workflows token {token}.
        slots:
          token: requestBody.token
      - text: Invalidate the active Duo Workflows access token {token}.
        slots:
          token: requestBody.token
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/workflows/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a workflow's details
      effect: read
      questions:
      - What is the status and details of a specific workflow?
      - Can I look up a Duo Workflows execution by its ID?
      instructions:
      - text: Get the details of workflow {id}.
        slots:
          id: path.id
      - text: Show the status of workflow {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/workflows/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a workflow's status
      effect: write
      questions:
      - How do I mark a workflow as finished or dropped?
      - Can I record why a workflow was dropped?
      instructions:
      - text: Set workflow {id} status to {status_event}.
        slots:
          id: path.id
          status_event: requestBody.status_event
      - text: Drop workflow {id} with reason {drop_reason} because {status_event}.
        slots:
          id: path.id
          drop_reason: requestBody.drop_reason
          status_event: requestBody.status_event
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/workflows/{id}/checkpoints'].get
  update:
    x-apievangelist-phrasing:
      intent: List a workflow's checkpoints
      effect: read
      questions:
      - What checkpoints exist for a running workflow?
      - Can I list checkpoints for a workflow in a specific namespace?
      instructions:
      - text: List checkpoints for workflow {id}.
        slots:
          id: path.id
      - text: Show checkpoints for workflow {id} in namespace {checkpoint_ns}.
        slots:
          id: path.id
          checkpoint_ns: query.checkpoint_ns
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/workflows/{id}/checkpoints'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a workflow checkpoint
      effect: write
      questions:
      - How do I save a checkpoint state during a workflow run?
      - Can I create a checkpoint with compressed data and metadata?
      instructions:
      - text: Create a checkpoint for workflow {id} with metadata {metadata}.
        slots:
          id: path.id
          metadata: requestBody.metadata
      - text: Save a compressed checkpoint {compressed_checkpoint} for workflow {id} with metadata {metadata}.
        slots:
          compressed_checkpoint: requestBody.compressed_checkpoint
          id: path.id
          metadata: requestBody.metadata
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/workflows/{id}/checkpoints/by_thread_ts'].get
  update:
    x-apievangelist-phrasing:
      intent: Reconstruct a workflow checkpoint from blobs
      effect: read
      questions:
      - How do I get a full workflow checkpoint reconstructed from incremental blobs?
      - Can I fetch a checkpoint by its thread timestamp?
      instructions:
      - text: Reconstruct the full checkpoint for workflow {id} at thread timestamp {thread_ts}.
        slots:
          id: path.id
          thread_ts: query.thread_ts
      - text: Get the reconstructed checkpoint of workflow {id} at {thread_ts}.
        slots:
          id: path.id
          thread_ts: query.thread_ts
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/workflows/{id}/checkpoints/{checkpoint_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a workflow checkpoint's details
      effect: read
      questions:
      - What does a specific workflow checkpoint contain?
      - Can I read one checkpoint by its ID?
      instructions:
      - text: Get details of checkpoint {checkpoint_id} on workflow {id}.
        slots:
          checkpoint_id: path.checkpoint_id
          id: path.id
      - text: Show the contents of workflow {id} checkpoint {checkpoint_id}.
        slots:
          id: path.id
          checkpoint_id: path.checkpoint_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/workflows/{id}/checkpoint_writes_batch'].post
  update:
    x-apievangelist-phrasing:
      intent: Write multiple workflow checkpoints at once
      effect: write
      questions:
      - How do I write several checkpoint entries for a workflow in one request?
      - Can I batch checkpoint writes for a running workflow?
      instructions:
      - text: Write batch {checkpoint_writes} for workflow {id} at thread timestamp {thread_ts}.
        slots:
          checkpoint_writes: requestBody.checkpoint_writes
          id: path.id
          thread_ts: requestBody.thread_ts
      - text: Batch save these checkpoints {checkpoint_writes} on workflow {id} at {thread_ts}.
        slots:
          checkpoint_writes: requestBody.checkpoint_writes
          id: path.id
          thread_ts: requestBody.thread_ts
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/workflows/{id}/events'].get
  update:
    x-apievangelist-phrasing:
      intent: List a workflow's events
      effect: read
      questions:
      - What events have been logged for a workflow?
      - Can I see the event history of a workflow?
      instructions:
      - text: List events for workflow {id}.
        slots:
          id: path.id
      - text: Show the event history of workflow {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/workflows/{id}/events'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a workflow event
      effect: write
      questions:
      - How do I log an event on a workflow execution?
      - Can I attach a human message to a workflow event?
      instructions:
      - text: Create a {event_type} event on workflow {id} with message {message}.
        slots:
          event_type: requestBody.event_type
          id: path.id
          message: requestBody.message
      - text: Log event {event_type} with message {message} on workflow {id}.
        slots:
          event_type: requestBody.event_type
          message: requestBody.message
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/workflows/{id}/events/{event_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a workflow event
      effect: write
      questions:
      - How do I mark an event on a workflow as resolved?
      - Can I change the status of a workflow event?
      instructions:
      - text: Set event {event_id} on workflow {id} to status {event_status}.
        slots:
          event_id: path.event_id
          id: path.id
          event_status: requestBody.event_status
      - text: Mark workflow {id} event {event_id} as {event_status}.
        slots:
          id: path.id
          event_id: path.event_id
          event_status: requestBody.event_status
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/direct_access'].post
  update:
    x-apievangelist-phrasing:
      intent: Get direct access to the Duo Agent Platform
      effect: read
      questions:
      - How do I get connection details for direct access to the Duo Agent Platform?
      - Can I connect to the Duo Agent Platform service directly?
      instructions:
      - text: Get direct access connection details for workflow {workflow_definition}.
        slots:
          workflow_definition: requestBody.workflow_definition
      - text: Return Duo Agent Platform connection details for project {project_id}.
        slots:
          project_id: requestBody.project_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/list_tools'].get
  update:
    x-apievangelist-phrasing:
      intent: List Duo Agent Platform tools
      effect: read
      questions:
      - What tools does the Duo Agent Platform offer?
      - Can I list the tools available for a workflow type?
      instructions:
      - text: List the Duo Agent Platform tools.
      - text: Show Duo Agent Platform tools for workflow type {workflow_definition}.
        slots:
          workflow_definition: query.workflow_definition
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/ws'].get
  update:
    x-apievangelist-phrasing:
      intent: Get WebSocket connection details for Duo Workflows
      effect: read
      questions:
      - How do I connect to Duo Workflows over WebSocket?
      - Can I get WebSocket details for an existing workflow?
      instructions:
      - text: Get WebSocket connection details for workflow {workflow_id}.
        slots:
          workflow_id: query.workflow_id
      - text: Get Duo Workflows WebSocket details for environment {environment}.
        slots:
          environment: query.environment
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/workflows/{workflow_id}/trace.jsonl'].get
  update:
    x-apievangelist-phrasing:
      intent: Read a Duo Workflows trace as JSONL
      effect: read
      questions:
      - How do I see the full trace of a Duo Workflows session?
      - Can I include conversation history in a workflow trace?
      instructions:
      - text: Get the trace of workflow {workflow_id} as JSONL.
        slots:
          workflow_id: path.workflow_id
      - text: Show the full trace of workflow {workflow_id} including {full}.
        slots:
          workflow_id: path.workflow_id
          full: query.full
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/workflows'].post
  update:
    x-apievangelist-phrasing:
      intent: Create and start a Duo Workflows flow
      effect: write
      questions:
      - How do I create a new AI workflow to fix a failing pipeline?
      - Can a new flow start automatically when I create it?
      instructions:
      - text: Create a flow in project {project_id} with goal {goal}.
        slots:
          project_id: requestBody.project_id
          goal: requestBody.goal
      - text: 'Create a flow in {project_id} that starts automatically: {start_workflow}.'
        slots:
          project_id: requestBody.project_id
          start_workflow: requestBody.start_workflow
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/workflows/agent_privileges'].get
  update:
    x-apievangelist-phrasing:
      intent: List Duo Workflows agent privileges
      effect: read
      questions:
      - Which actions can an AI agent be granted in Duo Workflows?
      - What does each agent privilege enable?
      instructions:
      - text: List all Duo Workflows agent privileges.
      - text: Show the available agent privileges with their default settings.
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/workflows/{workflow_id}/execute'].post
  update:
    x-apievangelist-phrasing:
      intent: Get execution connection details for a workflow
      effect: write
      questions:
      - How do I get Workhorse to run a workflow server-side?
      - What connection details does Workhorse need to stream actions back?
      instructions:
      - text: Get execution connection details for workflow {workflow_id}.
        slots:
          workflow_id: path.workflow_id
      - text: Start a server-side execution of workflow {workflow_id} in project {project_id}.
        slots:
          workflow_id: path.workflow_id
          project_id: requestBody.project_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/workflows/{workflow_id}/resume'].post
  update:
    x-apievangelist-phrasing:
      intent: Resume a paused workflow
      effect: write
      questions:
      - How do I resume a workflow that paused for human approval?
      - Can I send a human message along with resuming a paused flow?
      instructions:
      - text: Resume workflow {workflow_id} with human approval {human_approval}.
        slots:
          workflow_id: path.workflow_id
          human_approval: requestBody.human_approval
      - text: Resume workflow {workflow_id} with message {human_message}.
        slots:
          workflow_id: path.workflow_id
          human_message: requestBody.human_message
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/ai/duo_workflows/workflows/{workflow_id}/restart'].post
  update:
    x-apievangelist-phrasing:
      intent: Restart a failed or stopped workflow
      effect: write
      questions:
      - How do I start a failed workflow as a brand new session?
      - Does restarting a workflow keep the original goal and privileges?
      instructions:
      - text: Restart workflow {workflow_id} as a new session.
        slots:
          workflow_id: path.workflow_id
      - text: Start a fresh session for workflow {workflow_id} with its original goal.
        slots:
          workflow_id: path.workflow_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/merge_requests/{merge_request_iid}/suggested_reviewers'].post
  update:
    x-apievangelist-phrasing:
      intent: Set AI-recommended reviewers for a merge request
      effect: write
      questions:
      - How do I replace the AI-recommended reviewers on a merge request?
      - Can I cap the number of suggested reviewers?
      instructions:
      - text: Set suggested reviewers {suggestions} on merge request {merge_request_iid} in project {id}.
        slots:
          suggestions: requestBody.suggestions
          merge_request_iid: path.merge_request_iid
          id: path.id
      - text: Replace the AI-recommended reviewers for merge request {merge_request_iid} in {id}.
        slots:
          merge_request_iid: path.merge_request_iid
          id: path.id
      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-workflows-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.