GitLab · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for GitLab REST Labels API

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

$.info
$.paths['/api/v4/projects/{id}/labels'].get
$.paths['/api/v4/projects/{id}/labels'].put
$.paths['/api/v4/projects/{id}/labels'].post
$.paths['/api/v4/projects/{id}/labels'].delete
$.paths['/api/v4/projects/{id}/labels/{name}'].get
$.paths['/api/v4/projects/{id}/labels/{name}'].put
$.paths['/api/v4/projects/{id}/labels/{name}'].delete
$.paths['/api/v4/projects/{id}/labels/promote'].put
$.paths['/api/v4/projects/{id}/labels/{name}/promote'].put
$.paths['/api/v4/groups/{id}/labels'].get
$.paths['/api/v4/groups/{id}/labels'].put
$.paths['/api/v4/groups/{id}/labels'].post
$.paths['/api/v4/groups/{id}/labels'].delete
$.paths['/api/v4/groups/{id}/labels/{name}'].get
$.paths['/api/v4/groups/{id}/labels/{name}'].put

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 Labels API
  version: 1.0.0
extends: openapi/gitlab-labels-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: 16
- target: $.paths['/api/v4/projects/{id}/labels'].get
  update:
    x-apievangelist-phrasing:
      intent: List a project's labels
      effect: read
      questions:
      - What labels exist in my GitLab project?
      - Can I list only archived labels in a project?
      instructions:
      - text: List all labels in project {id}.
        slots:
          id: path.id
      - text: Find project {id} labels matching {search}.
        slots:
          id: path.id
          search: query.search
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/labels'].put
  update:
    x-apievangelist-phrasing:
      intent: Rename or recolor a project label (deprecated)
      effect: write
      questions:
      - Can I rename a project label by its ID instead of its name?
      - Is there a deprecated bulk update for project labels?
      instructions:
      - text: Rename project {id} label {label_id} to {new_name}.
        slots:
          id: path.id
          label_id: requestBody.label_id
          new_name: requestBody.new_name
      - text: Change the color of project {id} label {name} to {color}.
        slots:
          id: path.id
          name: requestBody.name
          color: requestBody.color
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/labels'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a project label
      effect: write
      questions:
      - How do I create a new label in a project?
      - Can I set a priority when creating a project label?
      instructions:
      - text: Create label {name} in project {id} with color {color}.
        slots:
          name: requestBody.name
          id: path.id
          color: requestBody.color
      - text: Add project {id} label {name} in {color} with priority {priority}.
        slots:
          id: path.id
          name: requestBody.name
          color: requestBody.color
          priority: requestBody.priority
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/labels'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a project label by name (deprecated)
      effect: destructive
      questions:
      - Can I delete a project label by its name instead of its ID?
      - Is there a deprecated bulk delete for project labels?
      instructions:
      - text: Delete project {id} label {name}.
        slots:
          id: path.id
          name: query.name
      - text: Remove the project {id} label named {name} by ID {label_id}.
        slots:
          id: path.id
          name: query.name
          label_id: query.label_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/labels/{name}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a project label
      effect: read
      questions:
      - What color and priority does a specific project label have?
      - Can I look up one project label by name?
      instructions:
      - text: Get project {id} label {name}.
        slots:
          id: path.id
          name: path.name
      - text: Show the details of label {name} in project {id}.
        slots:
          name: path.name
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/labels/{name}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a project label's name, color or priority
      effect: write
      questions:
      - Can I change the color of a label that belongs to a single project?
      - How do I rename a label that exists only in one project?
      - Can I set a priority on a project label I already created?
      instructions:
      - text: Rename the label {name} in project {id} to {new_name}.
        slots:
          name: path.name
          id: path.id
          new_name: requestBody.new_name
      - text: Recolor the label {name} in project {id} as {color}.
        slots:
          name: path.name
          id: path.id
          color: requestBody.color
      - text: Set the priority of the label {name} in project {id} to {priority}.
        slots:
          name: path.name
          id: path.id
          priority: requestBody.priority
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/labels/{name}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a project label
      effect: destructive
      questions:
      - How do I delete a label from a project by name?
      - Can I remove one project label by its name?
      instructions:
      - text: Delete label {name} from project {id}.
        slots:
          name: path.name
          id: path.id
      - text: Remove project {id} label {name} permanently.
        slots:
          id: path.id
          name: path.name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/labels/promote'].put
  update:
    x-apievangelist-phrasing:
      intent: Promote a project label to a group label (deprecated)
      effect: write
      questions:
      - Can I promote a project label to a group label by name?
      - Is there a deprecated bulk promotion for project labels?
      instructions:
      - text: Promote project {id} label {name} to a group label.
        slots:
          id: path.id
          name: requestBody.name
      - text: Make project {id} label {name} a group label.
        slots:
          id: path.id
          name: requestBody.name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/labels/{name}/promote'].put
  update:
    x-apievangelist-phrasing:
      intent: Promote a project label to group scope
      effect: write
      questions:
      - Can I share a project's label with every project in its group?
      - Does a label keep its ID when it is promoted from a project to a group?
      instructions:
      - text: Promote the label {name} of project {id} so the whole group can use it.
        slots:
          name: path.name
          id: path.id
      - text: Move the label {name} from project {id} up to group level.
        slots:
          name: path.name
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/groups/{id}/labels'].get
  update:
    x-apievangelist-phrasing:
      intent: List a group's labels
      effect: read
      questions:
      - What labels exist across all projects in a group?
      - Can I list only the group labels of a group?
      instructions:
      - text: List all labels in group {id}.
        slots:
          id: path.id
      - text: Find group {id} labels matching {search}.
        slots:
          id: path.id
          search: query.search
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/groups/{id}/labels'].put
  update:
    x-apievangelist-phrasing:
      intent: Rename or recolor a group label
      effect: write
      questions:
      - How do I rename a group label by its ID?
      - Can I archive a group label by name?
      instructions:
      - text: Rename group {id} label {label_id} to {new_name}.
        slots:
          id: path.id
          label_id: requestBody.label_id
          new_name: requestBody.new_name
      - text: Change the color of group {id} label {name} to {color}.
        slots:
          id: path.id
          name: requestBody.name
          color: requestBody.color
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/groups/{id}/labels'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a group label
      effect: write
      questions:
      - How do I create a new label for a whole group?
      - Can I set a description and priority on a group label?
      instructions:
      - text: Create group label {name} with color {color}.
        slots:
          name: requestBody.name
          color: requestBody.color
      - text: Create label {name} in group {id} described as {description}.
        slots:
          name: requestBody.name
          id: path.id
          description: requestBody.description
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/groups/{id}/labels'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a group label
      effect: destructive
      questions:
      - How do I delete a group label by name?
      - Can I remove a group label from a group?
      instructions:
      - text: Delete group label {name}.
        slots:
          name: query.name
      - text: Remove the group label {name} from group {id}.
        slots:
          name: query.name
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/groups/{id}/labels/{name}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one group label
      effect: read
      questions:
      - What are the details of a label defined at group scope?
      - Can I see a group label along with the projects it's used in?
      instructions:
      - text: Show group label {name} in group {id}.
        slots:
          name: path.name
          id: path.id
      - text: Get label {name} in group {id} including {include_ancestor_groups} ancestors.
        slots:
          name: path.name
          id: path.id
          include_ancestor_groups: query.include_ancestor_groups
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/groups/{id}/labels/{name}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a group label's name, color or archive state
      effect: write
      questions:
      - Can I rename a label that is shared across a whole group?
      - Is it possible to archive a group-level label without deleting it?
      - What can I change on an existing group label besides its color?
      instructions:
      - text: Rename the label {name} in group {id} to {new_name}.
        slots:
          name: path.name
          id: path.id
          new_name: requestBody.new_name
      - text: Recolor the label {name} in group {id} as {color}.
        slots:
          name: path.name
          id: path.id
          color: requestBody.color
      - text: Archive the label {name} in group {id} by setting archived to {archived}.
        slots:
          name: path.name
          id: path.id
          archived: requestBody.archived
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/groups/{id}/labels/{name}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a group label
      effect: destructive
      questions:
      - How do I remove a label from a group?
      - Can I delete a group label by ID rather than name?
      instructions:
      - text: Delete group label {name} from group {id}.
        slots:
          name: path.name
          id: path.id
      - text: Remove label {name} in {id} so no project uses it anymore.
        slots:
          name: path.name
          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-labels-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.