GitLab · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for GitLab REST Usage data API

8 actions 8 updates phrasing extends openapi/gitlab-usage-data-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/usage_data/queries'].get
$.paths['/api/v4/usage_data/non_sql_metrics'].get
$.paths['/api/v4/usage_data/increment_counter'].post
$.paths['/api/v4/usage_data/increment_unique_users'].post
$.paths['/api/v4/usage_data/track_events'].post
$.paths['/api/v4/usage_data/service_ping'].get
$.paths['/api/v4/usage_data/track_event'].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 Usage data API
  version: 1.0.0
extends: openapi/gitlab-usage-data-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/usage_data/queries'].get
  update:
    x-apievangelist-phrasing:
      intent: List Service Ping SQL queries
      effect: read
      questions:
      - Which SQL queries does Service Ping run?
      - Can I see the raw queries behind Service Ping?
      instructions:
      - text: List all Service Ping SQL queries.
      - text: Show the raw queries Service Ping uses.
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/usage_data/non_sql_metrics'].get
  update:
    x-apievangelist-phrasing:
      intent: List non-SQL Service Ping metrics
      effect: read
      questions:
      - What non-SQL metrics does Service Ping collect?
      - Can I see the non-SQL metrics data Service Ping sends?
      instructions:
      - text: List all non-SQL metrics used in Service Ping.
      - text: Show the non-SQL metrics Service Ping tracks.
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/usage_data/increment_counter'].post
  update:
    x-apievangelist-phrasing:
      intent: Track a usage data event
      effect: write
      questions:
      - How do I record a usage event for Service Ping?
      - Can I increment a usage counter by name?
      instructions:
      - text: Track usage event {event}.
        slots:
          event: requestBody.event
      - text: Increment the Service Ping counter for {event}.
        slots:
          event: requestBody.event
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/usage_data/increment_unique_users'].post
  update:
    x-apievangelist-phrasing:
      intent: Track a unique-user event
      effect: write
      questions:
      - How do I record that a unique user performed an action?
      - Can I increment the unique-user counter for a given event?
      instructions:
      - text: Track a unique-user event {event}.
        slots:
          event: requestBody.event
      - text: Increment the unique-user counter for {event}.
        slots:
          event: requestBody.event
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/usage_data/track_events'].post
  update:
    x-apievangelist-phrasing:
      intent: Track many internal events at once
      effect: write
      questions:
      - Can I send several internal GitLab events in one request?
      - What is the maximum number of events I can track in one batch?
      instructions:
      - text: 'Track these internal events: {events}.'
        slots:
          events: requestBody.events
      - text: Send {events} to Service Ping in a single request.
        slots:
          events: requestBody.events
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/usage_data/service_ping'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the cached Service Ping payload
      effect: read
      questions:
      - What Service Ping payload is cached right now?
      - Is there a cached Service Ping payload available?
      instructions:
      - text: Get the cached Service Ping payload.
      - text: Show the Service Ping payload from the cache.
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/usage_data/track_event'].post
  update:
    x-apievangelist-phrasing:
      intent: Track one internal GitLab event
      effect: write
      questions:
      - How do I track a single internal GitLab event?
      - Can I send an event to Snowplow along with Service Ping?
      instructions:
      - text: Track internal event {event}.
        slots:
          event: requestBody.event
      - text: Track event {event} for namespace {namespace_id}.
        slots:
          event: requestBody.event
          namespace_id: requestBody.namespace_id
      - text: Track event {event} on project {project_path} with additional properties {additional_properties}.
        slots:
          event: requestBody.event
          project_path: requestBody.project_path
          additional_properties: requestBody.additional_properties
      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-usage-data-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.