GitLab · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for GitLab REST CI jobs API

9 actions 9 updates phrasing extends openapi/gitlab-ci-jobs-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 9

$.info
$.paths['/api/v4/projects/{id}/jobs'].get
$.paths['/api/v4/projects/{id}/jobs/{job_id}'].get
$.paths['/api/v4/projects/{id}/jobs/{job_id}/trace'].get
$.paths['/api/v4/projects/{id}/jobs/{job_id}/cancel'].post
$.paths['/api/v4/projects/{id}/jobs/{job_id}/retry'].post
$.paths['/api/v4/projects/{id}/jobs/{job_id}/erase'].post
$.paths['/api/v4/projects/{id}/jobs/{job_id}/play'].post
$.paths['/api/v4/job'].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 CI jobs API
  version: 1.0.0
extends: openapi/gitlab-ci-jobs-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: 8
- target: $.paths['/api/v4/projects/{id}/jobs'].get
  update:
    x-apievangelist-phrasing:
      intent: List a project's CI jobs
      effect: read
      questions:
      - Which jobs have run in my project?
      - Can I list only the failed jobs of a branch?
      instructions:
      - text: List all jobs in project {id}.
        slots:
          id: path.id
      - text: List {scope} jobs in project {id} on branch {ref}.
        slots:
          scope: query.scope
          id: path.id
          ref: query.ref
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/jobs/{job_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one CI job
      effect: read
      questions:
      - What is the status of a specific job?
      - Can I look up a job by its ID?
      instructions:
      - text: Get job {job_id} in project {id}.
        slots:
          job_id: path.job_id
          id: path.id
      - text: Show the status of job {job_id} in {id}.
        slots:
          job_id: path.job_id
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/jobs/{job_id}/trace'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a job's log trace
      effect: read
      questions:
      - Where do I read the log output of a finished job?
      - Can I fetch only part of a job's trace?
      instructions:
      - text: Get the trace of job {job_id} in project {id}.
        slots:
          job_id: path.job_id
          id: path.id
      - text: Fetch {byte_limit} bytes of job {job_id}'s trace in {id} from offset {byte_offset}.
        slots:
          byte_limit: query.byte_limit
          job_id: path.job_id
          id: path.id
          byte_offset: query.byte_offset
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/jobs/{job_id}/cancel'].post
  update:
    x-apievangelist-phrasing:
      intent: Cancel a running CI job
      effect: destructive
      questions:
      - How do I stop a job that is still running?
      - Can I force-cancel a job that is stuck in canceling?
      instructions:
      - text: Cancel job {job_id} in project {id}.
        slots:
          job_id: path.job_id
          id: path.id
      - text: Force-cancel job {job_id} in {id} with force {force}.
        slots:
          job_id: path.job_id
          id: path.id
          force: requestBody.force
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/jobs/{job_id}/retry'].post
  update:
    x-apievangelist-phrasing:
      intent: Retry a failed CI job
      effect: write
      questions:
      - Can I rerun a job that failed?
      - Is it possible to retry a job with different inputs?
      instructions:
      - text: Retry job {job_id} in project {id}.
        slots:
          job_id: path.job_id
          id: path.id
      - text: Retry job {job_id} in {id} with inputs {inputs}.
        slots:
          job_id: path.job_id
          id: path.id
          inputs: requestBody.inputs
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/jobs/{job_id}/erase'].post
  update:
    x-apievangelist-phrasing:
      intent: Erase a job's artifacts and log
      effect: destructive
      questions:
      - How do I delete a job's artifacts and log?
      - Can I wipe a finished job's trace?
      instructions:
      - text: Erase job {job_id} in project {id}.
        slots:
          job_id: path.job_id
          id: path.id
      - text: Remove the artifacts and log of job {job_id} in {id}.
        slots:
          job_id: path.job_id
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/jobs/{job_id}/play'].post
  update:
    x-apievangelist-phrasing:
      intent: Run a manual CI job
      effect: write
      questions:
      - How do I trigger a manual job?
      - Can I pass variables when running a manual job?
      instructions:
      - text: Run job {job_id} in project {id}.
        slots:
          job_id: path.job_id
          id: path.id
      - text: Run manual job {job_id} in {id} with inputs {job_inputs}.
        slots:
          job_id: path.job_id
          id: path.id
          job_inputs: requestBody.job_inputs
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/job'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a job from a job token
      effect: read
      questions:
      - Can I look up a job by its job token?
      - Which job was generated by a given job token?
      instructions:
      - text: Get the job for this job token.
      - text: Look up the job created by the job token I have.
      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-ci-jobs-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.