GitLab · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for GitLab REST Active context API

8 actions 8 updates phrasing extends openapi/gitlab-active-context-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 8

$.info
$.paths['/api/v4/admin/active_context/connections'].get
$.paths['/api/v4/admin/active_context/connections/activate'].put
$.paths['/api/v4/admin/active_context/connections/deactivate'].put
$.paths['/api/v4/admin/active_context/collections/{id}'].put
$.paths['/api/v4/admin/active_context/dead_queue'].delete
$.paths['/api/v4/admin/active_context/dead_queue/replay'].post
$.paths['/api/v4/admin/active_context/code/enabled_namespaces'].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 Active context API
  version: 1.0.0
extends: openapi/gitlab-active-context-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: 7
- target: $.paths['/api/v4/admin/active_context/connections'].get
  update:
    x-apievangelist-phrasing:
      intent: List ActiveContext connections
      effect: read
      questions:
      - Which ActiveContext connections are configured on my instance?
      - What connections are set up for code indexing?
      instructions:
      - text: List all ActiveContext connections.
      - text: Show every connection configured for this instance.
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/admin/active_context/connections/activate'].put
  update:
    x-apievangelist-phrasing:
      intent: Activate an ActiveContext connection
      effect: write
      questions:
      - How do I switch which ActiveContext connection is active?
      - Can I activate a connection and drop the previous one?
      instructions:
      - text: Activate ActiveContext connection {connection_id}.
        slots:
          connection_id: requestBody.connection_id
      - text: Make connection {connection_id} the active connection.
        slots:
          connection_id: requestBody.connection_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/admin/active_context/connections/deactivate'].put
  update:
    x-apievangelist-phrasing:
      intent: Deactivate an ActiveContext connection
      effect: destructive
      questions:
      - How do I deactivate the currently active ActiveContext connection?
      - What happens to indexed data when a connection is deactivated?
      instructions:
      - text: Deactivate ActiveContext connection {connection_id}.
        slots:
          connection_id: requestBody.connection_id
      - text: Drop indexed data for the active connection and delete its record.
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/admin/active_context/collections/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Change a collection's queue settings
      effect: write
      questions:
      - How do I change how many queue shards a collection uses?
      - Can I raise the queue shard limit for a collection?
      instructions:
      - text: Set collection {id} to {queue_shard_count} queue shards.
        slots:
          id: path.id
          queue_shard_count: requestBody.queue_shard_count
      - text: Change collection {id} to a shard limit of {queue_shard_limit}.
        slots:
          id: path.id
          queue_shard_limit: requestBody.queue_shard_limit
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/admin/active_context/dead_queue'].delete
  update:
    x-apievangelist-phrasing:
      intent: Clear the ActiveContext dead queue
      effect: destructive
      questions:
      - How do I clear all items from the ActiveContext dead queue?
      - How many dead items were removed?
      instructions:
      - text: Clear the ActiveContext dead queue.
      - text: Empty the dead queue and report how many items were cleared.
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/admin/active_context/dead_queue/replay'].post
  update:
    x-apievangelist-phrasing:
      intent: Replay dead queue items into another queue
      effect: write
      questions:
      - How do I replay dead queue items into a retry queue?
      - Can I send dead items to a backfill queue?
      instructions:
      - text: Replay dead queue items into {queue}.
        slots:
          queue: requestBody.queue
      - text: Enqueue dead items into the {queue} queue.
        slots:
          queue: requestBody.queue
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/admin/active_context/code/enabled_namespaces'].put
  update:
    x-apievangelist-phrasing:
      intent: Transition a namespace's indexing state
      effect: write
      questions:
      - How do I move an enabled namespace's indexing state to pending?
      - Can I set an enabled namespace's indexing state to ready?
      instructions:
      - text: Set enabled namespace {namespace_id} indexing state to {state}.
        slots:
          namespace_id: requestBody.namespace_id
          state: requestBody.state
      - text: Transition namespace {namespace_id} to indexing state {state}.
        slots:
          namespace_id: requestBody.namespace_id
          state: requestBody.state
      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-active-context-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.