GitLab · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for GitLab REST Code search API

7 actions 7 updates phrasing extends openapi/gitlab-code-search-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 7

$.info
$.paths['/api/v4/admin/zoekt/projects/{project_id}/index'].put
$.paths['/api/v4/admin/zoekt/namespaces/{id}'].patch
$.paths['/api/v4/admin/zoekt/shards'].get
$.paths['/api/v4/admin/zoekt/shards/{node_id}/indexed_namespaces'].get
$.paths['/api/v4/admin/zoekt/shards/{node_id}/indexed_namespaces/{namespace_id}'].put
$.paths['/api/v4/admin/zoekt/shards/{node_id}/indexed_namespaces/{namespace_id}'].delete

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 Code search API
  version: 1.0.0
extends: openapi/gitlab-code-search-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: 6
- target: $.paths['/api/v4/admin/zoekt/projects/{project_id}/index'].put
  update:
    x-apievangelist-phrasing:
      intent: Trigger Zoekt indexing for a project
      effect: write
      questions:
      - How do I make a project searchable with Zoekt?
      - Can I kick off background indexing for one project?
      instructions:
      - text: Trigger Zoekt indexing for project {project_id}.
        slots:
          project_id: path.project_id
      - text: Start background code search indexing on project {project_id}.
        slots:
          project_id: path.project_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/admin/zoekt/namespaces/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Override the Zoekt replica count for a namespace
      effect: write
      questions:
      - Can I change how many copies of a namespace's index a Zoekt node keeps?
      - What happens to a namespace's replication factor when I set it to null?
      instructions:
      - text: Set the Zoekt replica override for namespace {id} to {number_of_replicas_override}.
        slots:
          id: path.id
          number_of_replicas_override: requestBody.number_of_replicas_override
      - text: Unset the Zoekt replication override on namespace {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/admin/zoekt/shards'].get
  update:
    x-apievangelist-phrasing:
      intent: List all Zoekt search nodes
      effect: read
      questions:
      - Which Zoekt search nodes are available in my instance?
      - What nodes make up the code search index?
      instructions:
      - text: List all Zoekt search nodes.
      - text: Show every node that hosts a Zoekt index.
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/admin/zoekt/shards/{node_id}/indexed_namespaces'].get
  update:
    x-apievangelist-phrasing:
      intent: List namespaces indexed by a node
      effect: read
      questions:
      - Which namespaces does a particular Zoekt node index?
      - What root namespaces are on a given search node?
      instructions:
      - text: List the indexed namespaces on Zoekt node {node_id}.
        slots:
          node_id: path.node_id
      - text: Show which root namespaces node {node_id} holds.
        slots:
          node_id: path.node_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/admin/zoekt/shards/{node_id}/indexed_namespaces/{namespace_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Add a namespace to a Zoekt node
      effect: write
      questions:
      - How do I assign a namespace to a specific Zoekt node for indexing?
      - Can I enable searching on a namespace that's already indexed on a node?
      instructions:
      - text: Add namespace {namespace_id} to Zoekt node {node_id} for indexing.
        slots:
          namespace_id: path.namespace_id
          node_id: path.node_id
      - text: Enable searching on namespace {namespace_id} on node {node_id}.
        slots:
          namespace_id: path.namespace_id
          node_id: path.node_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/admin/zoekt/shards/{node_id}/indexed_namespaces/{namespace_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a namespace from a Zoekt node
      effect: destructive
      questions:
      - How do I stop a Zoekt node from indexing a namespace?
      - Does removing a namespace from a node delete its indexed data?
      instructions:
      - text: Remove namespace {namespace_id} from Zoekt node {node_id}.
        slots:
          namespace_id: path.namespace_id
          node_id: path.node_id
      - text: Delete the indexed data of namespace {namespace_id} on node {node_id}.
        slots:
          namespace_id: path.namespace_id
          node_id: path.node_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-code-search-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.